Skip to content

Commit 5b390a8

Browse files
committed
add TODO comment to coordinator
1 parent 06ab9e1 commit 5b390a8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/src/main/java/org/elasticsearch/cluster/coordination/Coordinator.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ public class Coordinator extends AbstractLifecycleComponent {
3434
private final TransportService transportService;
3535
private final JoinHelper joinHelper;
3636
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
3739
final Object mutex = new Object();
3840
final SetOnce<CoordinationState> coordinationState = new SetOnce<>(); // initialized on start-up (see doStart)
3941

0 commit comments

Comments
 (0)