Skip to content

[BUGFIX] cannot cleanup expired data after managed-ledger restart #10086

Closed

Description

@wuzhanpeng

Describe the bug
Expired data can not be cleanup by trimming thread after managed-ledger restart.

To Reproduce
Steps to reproduce the behavior:

  1. add some entries to a specific managed-ledger
  2. read entries from the managed-ledger until the end
  3. close the managed-ledger to simulate bundle-unload or broker-shutdown
  4. re-open the same managed-ledger
  5. 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

  1. added
    type/bug
    on Mar 30, 2021
  2. added a commit that references this issue on May 23, 2021
    b6ca040
  3. added a commit that references this issue on Jun 23, 2021
    6dfc478
  4. added a commit that references this issue on Mar 18, 2022
    0a652b5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

type/bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions