You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/11/28 15:26:32 UTC
[GitHub] [pulsar] MarvinCai added a comment to the discussion: what is "滚动策略循环"?
GitHub user MarvinCai added a comment to the discussion: what is "滚动策略循环"?
Rollover means delete old(consumed) ledgers and make room for new ledgers.
Ledger is append only and will not be writable once closed/fenced.
Ledger can only be deleted as a whole, so all entries on a ledger has to be consumed and acked by consumers(or auto acked by ttl).
Broker will scan ledger at background and if a ledger is fullly consumer(all entries are consumed) & (ledger exists more than configured retention period || total storage size for a topic cross max retion size), then it's marked for delete(rollover).
GitHub link: https://github.com/apache/pulsar/discussions/18471#discussioncomment-4254595
----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@pulsar.apache.org