Skip to content

Commit

Permalink
add TODO comment to coordinator
Browse files Browse the repository at this point in the history
  • Loading branch information
ywelsch committed Aug 23, 2018
1 parent 06ab9e1 commit 5b390a8
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ public class Coordinator extends AbstractLifecycleComponent {
private final TransportService transportService;
private final JoinHelper joinHelper;
private final Supplier<CoordinationState.PersistedState> persistedStateSupplier;
// TODO: the following two fields are package-private as some tests require access to them
// These tests can be rewritten to use public methods once Coordinator is more feature-complete
final Object mutex = new Object();
final SetOnce<CoordinationState> coordinationState = new SetOnce<>(); // initialized on start-up (see doStart)

Expand Down

0 comments on commit 5b390a8

Please sign in to comment.