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
Timebased Backlog policy doesn't work as expected and data is not deleted.
How can I know the mapping between ledgerId and entryFile? So that I can do further trace.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Timebased Backlog policy doesn't work as expected and data is not deleted.
How can I know the mapping between ledgerId and entryFile? So that I can do further trace.
Enviroment: Pulsar 2.9.3 cluster and applied the fix of https://github.com/apache/pulsar/pull/18037/files. JDK 1.8
BACKLOG config:
[root@cg3 apache-pulsar-2.9.3]# bin/pulsar-admin topics get-backlog-quotas persistent://goldwind/iothub/prop_data-BZ-GRID-realdev-Guarantee-308043656855769088 -ap
"destination_storage BacklogQuotaImpl(limit=106300440576, limitSize=106300440576, limitTime=43200, policy=consumer_backlog_eviction)"
"message_age BacklogQuotaImpl(limit=107374182400, limitSize=107374182400, limitTime=43200, policy=consumer_backlog_eviction)"
RETENTION config
[root@cg3 apache-pulsar-2.9.3]# bin/pulsar-admin topics get-retention persistent://goldwind/iothub/prop_data-BZ-GRID-realdev-Guarantee-308043656855769088 -ap
{
"retentionTimeInMinutes" : 1440,
"retentionSizeInMB" : 102400
}
LEDGER LIST
[root@cg3 apache-pulsar-2.9.3]# bin/pulsar-admin topics stats-internal persistent://goldwind/iothub/prop_data-BZ-GRID-realdev-Guarantee-308043656855769088
{
"entriesAddedCounter" : 0,
"numberOfEntries" : 1371263,
"totalSize" : 11625966829,
"currentLedgerEntries" : 0,
"currentLedgerSize" : 0,
"lastLedgerCreatedTimestamp" : "2023-04-18T17:14:20.96+08:00",
"waitingCursorsCount" : 3,
"pendingAddEntriesCount" : 0,
"lastConfirmedEntry" : "171561:20148",
"state" : "LedgerOpened",
"ledgers" : [ {
"ledgerId" : 130232,
"entries" : 50000,
"size" : 235217686,
"offloaded" : false,
"underReplicated" : false
}, {
"ledgerId" : 130302,
"entries" : 50000,
"size" : 235776822,
"offloaded" : false,
"underReplicated" : false
}, {
"ledgerId" : 130365,
"entries" : 50000,
"size" : 238398640,
"offloaded" : false,
"underReplicated" : false
}, {
"ledgerId" : 130427,
"entries" : 50000,
"size" : 232999231,
"offloaded" : false,
"underReplicated" : false
}, {
"ledgerId" : 130483,
"entries" : 50000,
"size" : 237121311,
"offloaded" : false,
"underReplicated" : false
}, {
"ledgerId" : 130532,
"entries" : 50000,
"size" : 235043385,
"offloaded" : false,
"underReplicated" : false
}, {
one of zombie suscription
Seems the markDeletePosition of zombie subscription is not moved by backlogManager.
All reactions