Skip to content

Bookkeeper disc not recovered for a long time #21861

@crossoverJie

Description

@crossoverJie

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

image
We have a few bk node disk occupation for a long time at 95%

Solution

After scanning, we found that the value of the majorCompactionThreshold 0.5, not 0.8 in the bookkeeper repo.

https://github.com/apache/bookkeeper/blob/master/conf/bk_server.conf#L565

majorCompactionThreshold=0.5 is less likely to trigger the GC, and whether to change the default to 0.8 to be consistent with the bookkeeper.

Alternatives

No response

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementThe enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions