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 2022/08/30 16:42:51 UTC

[GitHub] [pulsar] poorbarcode commented on pull request #17308: [fix] Combination of autocreate + forced delete of partitioned topic with active consumer leaves topic metadata inconsistent.

poorbarcode commented on PR #17308:
URL: https://github.com/apache/pulsar/pull/17308#issuecomment-1231911843

   This PR can not solve every scenario: 
   
   The cmd delete topic is executed between these two instructions: `consumer lookup` and `consumer subscribe`,  even if the partitioned topic is deleted successfully, but the client already has the topic-meta(which has been deleted), then the consumer subscribes with the topic name "topic-partition-x". You can reproduce like this: 
   
   ```
   1. create partitioned topic "tp_test"
   
   2. consumer lookup
   
   3. delete topic
   
   4. consumer subscribe
   
   5."tp_test-partition-x" created
   ```
   
   


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org