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/12/23 01:19:17 UTC

[GitHub] [pulsar] labuladong commented on issue #18925: [Bug] Cannot auto delete partitioned topic

labuladong commented on issue #18925:
URL: https://github.com/apache/pulsar/issues/18925#issuecomment-1363492572

   I have investigated the source code, and I reproduced that the partitioned topics cannot be auto-deleted.
   
   It seems we only store partitioned topic metadata in zk instead of broker memory when we create a partitioned topic. So broker `checkGC` method won't get any information on partitioned topics, partitioned topics will not be deleted.
   
   Only if I interact with the partitioned topic, for example `bin/pulsar-admin topics partitioned-stats mytest3`, the partitioned topic information can be loaded in broker memory. After that, the partitioned topics can be deleted.
   
   I think this is a bug, but not sure of the root cause. Is there any big change in partitioned topic creation recently?


-- 
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