You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/06/01 18:55:37 UTC

[GitHub] [pulsar] merlimat opened a new pull request #7131: Allow to delete topics that are failing to recover

merlimat opened a new pull request #7131:
URL: https://github.com/apache/pulsar/pull/7131


   ### Motivation
   
   If a topic is failing to recover, it's currently practically impossible to force the deletion, other than going to delete the metadata from ZK directly.
   
   The failure to recover can happen when data for the last ledger is missing and the ledger fails causing the topic to be offline. This could be due to manual error (eg: increasing and decreasing the bookie replicas without waiting to auto-recovery).
   
   If we want to delete a topic and move on, we shouldn't fail if the data itself is corrupted/missing.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [pulsar] sijie merged pull request #7131: Allow to delete topics that are failing to recover

Posted by GitBox <gi...@apache.org>.
sijie merged pull request #7131:
URL: https://github.com/apache/pulsar/pull/7131


   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [pulsar] Saswatibhoi commented on pull request #7131: Allow to delete topics that are failing to recover

Posted by GitBox <gi...@apache.org>.
Saswatibhoi commented on pull request #7131:
URL: https://github.com/apache/pulsar/pull/7131#issuecomment-638980088


   Will the topic deletion work on geo-replicated topics too? Because at this moment, for the namespaces that are geo-replicated, the topics doesn't get deleted even if we try disabling the replication by set-clusters.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [pulsar] merlimat commented on pull request #7131: Allow to delete topics that are failing to recover

Posted by GitBox <gi...@apache.org>.
merlimat commented on pull request #7131:
URL: https://github.com/apache/pulsar/pull/7131#issuecomment-638991527


   @Saswatibhoi that is a different issue. For geo-replicated topics, typically the suggestion is to stop using them and unsubscribe, leaving the topic to get auto-deleted.
   
   Surely, there could be an improvement to perform deletion on geo-replicated topics.


----------------------------------------------------------------
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:
users@infra.apache.org