linlinnn commented on issue #10522: URL: https://github.com/apache/pulsar/issues/10522#issuecomment-835819958
@merlimat I track this issue, seems the leadership alway be released for [this condition](https://github.com/apache/pulsar/blob/5dc5de849b582c7f312764db043da9483c17146a/pulsar-metadata/src/main/java/org/apache/pulsar/metadata/coordination/impl/LeaderElectionImpl.java#L131) `// The existing value is different but was created from the same session` I'm not sure why there is a restrict that the existing value should be created from the same session Can we hold an incremental term or version, if the term or version is higher, then the broker changes to Follower -- 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. For queries about this service, please contact Infrastructure at: [email protected]
