-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Labels
issue/bugneeds-triageIssue which requires input from maintainers or needs to be triagedIssue which requires input from maintainers or needs to be triaged
Description
NarayanaLRAClient client = new NarayanaLRAClient("http://localhost:49101/lra-coordinator/lra-coordinator");
When i am testing failure of the client, I discovered that if the coordinator pasted there isnt available, it will eventually start the one from lra.coodinator.urls.
private void clusterConfig(URI coordinatorUrl) {
if (CONFIG.getOptionalValue(COORDINATOR_URLS_KEY, String.class).isEmpty()) {
this.coordinatorUrl = coordinatorUrl;
this.coordinatorCount = 1;
} else {
String coordinators = getConfigProperty(COORDINATOR_URLS_KEY, coordinatorUrl.toASCIIString());
this.coordinatorUrl = toURI(coordinators.split(",")[0]);
this.coordinatorCount = coordinators.chars().filter(ch -> ch == ',').count() + 1;
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
issue/bugneeds-triageIssue which requires input from maintainers or needs to be triagedIssue which requires input from maintainers or needs to be triaged