Skip to content

Data deletion logic doesn't work #2394

@holmes07

Description

@holmes07

BUG REPORT

Describe the bug
1.I got log like this :Space left on device /data11/bookkeeper/ledgers/current : 159412490240, Used space fraction: 0.95951813 > threshold 0.95.
2. then i set the namespace ttl from 86400 to 900 seconds
conf after updated :
"message_ttl_in_seconds" : 900,
"subscription_expiration_time_minutes" : 0,
"retention_policies" : {
"retentionTimeInMinutes" : 10,
"retentionSizeInMB" : 100
}
3. but still no log below 20% can be compact.
Compaction: entry log usage buckets[10% 20% 30% 40% 50% 60% 70% 80% 90% 100%] = [0, 0, 0, 2, 6, 91, 124, 102, 115, 2888]

4.It seems that the deleted ledger is not passed to the entrylog or ttl does not delete the ledger。iguess, but i don't know why???
Screenshots
企业微信截图_15961867477860
企业微信截图_15961868209711
企业微信截图_15961868977771

Additional context
bookeeper version 4.11.0
pulsar version 2.6.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions