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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to