315157973 commented on issue #18128:
URL: https://github.com/apache/pulsar/issues/18128#issuecomment-1304741561

   > > * // Maximum number of Metadata requests per second during scanning
   > >   fullScanMaximumMetadataConcurrencyPerSecond=200
   > > * Add a `TrimLedger` admin API.
   > 
   > IIUC, the `TrimLedger` admin API should be synchronized, right? I mean 
that it should send response to leader broker after the cleaning is finished, 
so that the leader broker can release the semaphore for the concurrency of 
`fullScanMaximumMetadataConcurrencyPerSecond`.
   
   Garbage collection will take a long time and synchronization doesn't seem 
feasible right?
   I don't think there are many real zombie topics. The main overhead will be 
that the leader reads ZK and parses the metadata, and there are not many really 
eligible 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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to