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/04/02 18:42:06 UTC

[GitHub] [pulsar] sijie opened a new issue #6655: Retention policy should be respected when there is no traffic

sijie opened a new issue #6655: Retention policy should be respected when there is no traffic
URL: https://github.com/apache/pulsar/issues/6655
 
 
   *Motivation*
   
   Currently retention is checked when ledger rollover happens. So if the traffic is stopped, the ledgers are not cleaned up even all the messages are already acknowledged. This issue is to follow up with an enhancement to make sure Pulsar respect to retention policy even there is no traffic.

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


With regards,
Apache Git Services

[GitHub] [pulsar] sijie commented on issue #6655: Retention policy should be respected when there is no traffic

Posted by GitBox <gi...@apache.org>.
sijie commented on issue #6655: Retention policy should be respected when there is no traffic
URL: https://github.com/apache/pulsar/issues/6655#issuecomment-609509087
 
 
   @315157973 sounds good to me.

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


With regards,
Apache Git Services

[GitHub] [pulsar] 315157973 commented on issue #6655: Retention policy should be respected when there is no traffic

Posted by GitBox <gi...@apache.org>.
315157973 commented on issue #6655: Retention policy should be respected when there is no traffic
URL: https://github.com/apache/pulsar/issues/6655#issuecomment-609412872
 
 
   How about this:
   in BrokerService, create a new ScheduledExecutorService to regularly trigger "ManagedLedgerImpl#trimConsumedLedgersInBackground" of all 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


With regards,
Apache Git Services