You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "mumrah (via GitHub)" <gi...@apache.org> on 2024/08/01 16:54:57 UTC
[PR] KAFKA-17146 Include note to remove migration znode [kafka-site]
mumrah opened a new pull request, #620:
URL: https://github.com/apache/kafka-site/pull/620
When reverting the ZK migration, we must also remove the `/migration` ZNode in order to allow the migration to be re-attempted in the future.
--
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: dev-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KAFKA-17146 Include note to remove migration znode [kafka-site]
Posted by "mjsax (via GitHub)" <gi...@apache.org>.
mjsax commented on PR #620:
URL: https://github.com/apache/kafka-site/pull/620#issuecomment-2329878059
@mumrah -- can this PR be merged?
--
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: dev-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KAFKA-17146 Include note to remove migration znode [kafka-site]
Posted by "mumrah (via GitHub)" <gi...@apache.org>.
mumrah closed pull request #620: KAFKA-17146 Include note to remove migration znode
URL: https://github.com/apache/kafka-site/pull/620
--
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: dev-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KAFKA-17146 Include note to remove migration znode [kafka-site]
Posted by "chia7712 (via GitHub)" <gi...@apache.org>.
chia7712 commented on code in PR #620:
URL: https://github.com/apache/kafka-site/pull/620#discussion_r1705624608
##########
38/ops.html:
##########
@@ -4105,7 +4105,10 @@ <h3>Reverting to ZooKeeper mode During the Migration</h3>
</li>
<li>
Using <code>zookeeper-shell.sh</code>, run <code>rmr /controller</code> so that one
- of the brokers can become the new old-style controller.
+ of the brokers can become the new old-style controller. Additionally, run
+ <code>get /migration</code> followed by <code>rmr /migration</code> to clear the
+ migration state from ZooKeeper. This will allow you to re-attempt the migration
+ in the future. The data read from "/migration" can be useful for debugging.
Review Comment:
> I wonder why we have this duplication?
it seems we list all directions for reverting for each migration phase. That is a bit verbose, but they are useful. However, it is weird to use "table format" to display so much texts. Maybe we should to a bit refactor for it. Also, the same direction can have its hyperlink to be shared in different migration phase.
--
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: dev-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KAFKA-17146 Include note to remove migration znode [kafka-site]
Posted by "chia7712 (via GitHub)" <gi...@apache.org>.
chia7712 commented on code in PR #620:
URL: https://github.com/apache/kafka-site/pull/620#discussion_r1703359268
##########
38/ops.html:
##########
@@ -4105,7 +4105,10 @@ <h3>Reverting to ZooKeeper mode During the Migration</h3>
</li>
<li>
Using <code>zookeeper-shell.sh</code>, run <code>rmr /controller</code> so that one
- of the brokers can become the new old-style controller.
+ of the brokers can become the new old-style controller. Additionally, run
+ <code>get /migration</code> followed by <code>rmr /migration</code> to clear the
+ migration state from ZooKeeper. This will allow you to re-attempt the migration
+ in the future. The data read from "/migration" can be useful for debugging.
Review Comment:
oh, I don't notice this comment. https://github.com/apache/kafka/pull/16770 is merged. I will sync the changes back to kafka repo if it needs
--
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: dev-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KAFKA-17146 Include note to remove migration znode [kafka-site]
Posted by "chia7712 (via GitHub)" <gi...@apache.org>.
chia7712 commented on code in PR #620:
URL: https://github.com/apache/kafka-site/pull/620#discussion_r1705673008
##########
38/ops.html:
##########
@@ -4105,7 +4105,10 @@ <h3>Reverting to ZooKeeper mode During the Migration</h3>
</li>
<li>
Using <code>zookeeper-shell.sh</code>, run <code>rmr /controller</code> so that one
- of the brokers can become the new old-style controller.
+ of the brokers can become the new old-style controller. Additionally, run
+ <code>get /migration</code> followed by <code>rmr /migration</code> to clear the
+ migration state from ZooKeeper. This will allow you to re-attempt the migration
+ in the future. The data read from "/migration" can be useful for debugging.
Review Comment:
I file jira for it (https://issues.apache.org/jira/browse/KAFKA-17271)
--
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: dev-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KAFKA-17146 Include note to remove migration znode [kafka-site]
Posted by "showuon (via GitHub)" <gi...@apache.org>.
showuon commented on code in PR #620:
URL: https://github.com/apache/kafka-site/pull/620#discussion_r1701620649
##########
38/ops.html:
##########
@@ -4105,7 +4105,10 @@ <h3>Reverting to ZooKeeper mode During the Migration</h3>
</li>
<li>
Using <code>zookeeper-shell.sh</code>, run <code>rmr /controller</code> so that one
- of the brokers can become the new old-style controller.
+ of the brokers can become the new old-style controller. Additionally, run
+ <code>get /migration</code> followed by <code>rmr /migration</code> to clear the
+ migration state from ZooKeeper. This will allow you to re-attempt the migration
+ in the future. The data read from "/migration" can be useful for debugging.
Review Comment:
We also need to update it in L4147 (`Migrating brokers to KRaft` row)
--
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: dev-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KAFKA-17146 Include note to remove migration znode [kafka-site]
Posted by "ppatierno (via GitHub)" <gi...@apache.org>.
ppatierno commented on PR #620:
URL: https://github.com/apache/kafka-site/pull/620#issuecomment-2373117334
It's still not clear to me why this removal is needed. I ran migration then rollback the migration and so on several times without the need for deleting such znode.
--
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: dev-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KAFKA-17146 Include note to remove migration znode [kafka-site]
Posted by "mumrah (via GitHub)" <gi...@apache.org>.
mumrah commented on code in PR #620:
URL: https://github.com/apache/kafka-site/pull/620#discussion_r1705552076
##########
38/ops.html:
##########
@@ -4105,7 +4105,10 @@ <h3>Reverting to ZooKeeper mode During the Migration</h3>
</li>
<li>
Using <code>zookeeper-shell.sh</code>, run <code>rmr /controller</code> so that one
- of the brokers can become the new old-style controller.
+ of the brokers can become the new old-style controller. Additionally, run
+ <code>get /migration</code> followed by <code>rmr /migration</code> to clear the
+ migration state from ZooKeeper. This will allow you to re-attempt the migration
+ in the future. The data read from "/migration" can be useful for debugging.
Review Comment:
Thanks @showuon, added the second mention. I wonder why we have this duplication? 🤔
--
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: dev-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KAFKA-17146 Include note to remove migration znode [kafka-site]
Posted by "ppatierno (via GitHub)" <gi...@apache.org>.
ppatierno commented on code in PR #620:
URL: https://github.com/apache/kafka-site/pull/620#discussion_r1703365750
##########
38/ops.html:
##########
@@ -4105,7 +4105,10 @@ <h3>Reverting to ZooKeeper mode During the Migration</h3>
</li>
<li>
Using <code>zookeeper-shell.sh</code>, run <code>rmr /controller</code> so that one
- of the brokers can become the new old-style controller.
+ of the brokers can become the new old-style controller. Additionally, run
+ <code>get /migration</code> followed by <code>rmr /migration</code> to clear the
+ migration state from ZooKeeper. This will allow you to re-attempt the migration
+ in the future. The data read from "/migration" can be useful for debugging.
Review Comment:
I have commented the corresponding JIRA to understand in which state the user rollbacks the cluster to restart the migration because I tried this scenario more times without deleting the /migration znode and it worked fine.
--
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: dev-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org