You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Closed ledger did not deleted after retention period when no incoming traffic #9057
Describe the bug
Closed ledger did not deleted after retention period when no incoming traffic
To Reproduce
Set retention time as 10 min for a topic.
Create a producer to make some messages and then stop.
Create a consumer to consume all the message and then stop.
Wait for 4 hours (default value of managedLedgerMaxLedgerRolloverTimeMinutes) to let ledger rollover task close the current ledger and create a new empty ledger.
Check the topic status, topic storage size is not 0.
Expected behavior
The closed ledger is expected to be deleted by internalTrimConsumedLedgers task and the topic storage size should be 0.
Additional context
In #7111 a ledger rollover task was added and current ledger could be closed after managedLedgerMaxLedgerRolloverTimeMinutes. But even the current ledger was closed, it will not be deleted when no incoming traffic.
I will work for a fixing.
Activity
fix the closed ledger did not delete after expired (#9136)
fix the closed ledger did not delete after expired (#9136)
fix the closed ledger did not delete after expired (apache#9136)
fix the closed ledger did not delete after expired (#9136)
fix the closed ledger did not delete after expired (apache#9136)