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
[BUGFIX] cannot cleanup expired data after managed-ledger restart #10086
Describe the bug
Expired data can not be cleanup by trimming thread after managed-ledger restart.
To Reproduce
Steps to reproduce the behavior:
add some entries to a specific managed-ledger
read entries from the managed-ledger until the end
close the managed-ledger to simulate bundle-unload or broker-shutdown
re-open the same managed-ledger
the current ledger in managed-ledger is empty and the previous expired ledger can not be auto cleanup
Additional context #7111 and #9136 only partially solve this problem, and they can not handle the scenario mentioned above
I am working in progress and I will submit a PR to solve this issue later.
Activity
[BUGFIX] cannot cleanup expired data after managed-ledger restart (#1…
[BUGFIX] cannot cleanup expired data after managed-ledger restart (ap…
[BUGFIX] cannot cleanup expired data after managed-ledger restart (ap…