ppatierno commented on PR #15193: URL: https://github.com/apache/kafka/pull/15193#issuecomment-1902112238
@cmccabe sorry to be pedantic on this but I don't think it's fully clear/right ... From my understanding and tests, this seems to be how it should work and being documented: For the sake of simplicity (not typing much :-)) let's call "Enter Migration Mode on the brokers" as status A and "Migrating brokers to KRaft" as status B. Even from your table status B overlaps in terms of steps with status A to revert. Status B has just one more roll which is needed to move actually from B to A first. Then you apply the steps from status A to "finalize" the revert. So to me the procedure is: if you are in A: * Shutdown controllers * Remove /controller znode from ZooKeeper * Remove ZooKeeper migration flag and controllers configuration from brokers → rolling brokers if you are in B: * Remove process.roles, re-add ZooKeeper connection info and migration flag on brokers → rolling brokers (this step kind of move you from B to A) * follow the same 3 steps in A -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org