XComp commented on code in PR #22422:
URL: https://github.com/apache/flink/pull/22422#discussion_r1171485508
##########
flink-runtime/src/main/java/org/apache/flink/runtime/leaderelection/DefaultLeaderElectionService.java:
##########
@@ -67,7 +72,20 @@
// this.running=true ensures that leaderContender != null
private LeaderElectionDriver leaderElectionDriver;
+ @GuardedBy("lock")
+ private final ExecutorService leadershipOperationExecutor;
+
+ @VisibleForTesting
Review Comment:
copy and paste error: I'm going to move it to the other constructor and
reduce the visibility on that one.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]