We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06ab9e1 commit 5b390a8Copy full SHA for 5b390a8
server/src/main/java/org/elasticsearch/cluster/coordination/Coordinator.java
@@ -34,6 +34,8 @@ public class Coordinator extends AbstractLifecycleComponent {
34
private final TransportService transportService;
35
private final JoinHelper joinHelper;
36
private final Supplier<CoordinationState.PersistedState> persistedStateSupplier;
37
+ // TODO: the following two fields are package-private as some tests require access to them
38
+ // These tests can be rewritten to use public methods once Coordinator is more feature-complete
39
final Object mutex = new Object();
40
final SetOnce<CoordinationState> coordinationState = new SetOnce<>(); // initialized on start-up (see doStart)
41
0 commit comments