Github user JPercivall commented on a diff in the pull request:
https://github.com/apache/nifi/pull/900#discussion_r75781210
--- Diff:
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/leader/election/LeaderElectionManager.java
---
@@ -40,7 +35,8 @@
void register(String roleName, LeaderElectionStateChangeListener
listener);
/**
- * Adds a new role for which a leader is required, providing the given
value for this node as the Participant ID
+ * Adds a new role for which a leader is required, providing the given
value for this node as the Participant ID. If the Participant ID
+ * is <code>null</code>, this node will never be elected leader but
will passively observe changes to the leadership.
--- End diff --
Does this mean that in the future this node could never become the leader?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---