GitHub user lhotari added a comment to the discussion: Past Acknowledged 
messages are redelivered

More details that could cause unexpected behavior with the above configuration:
The `managedLedgerPersistIndividualAckAsLongArray=true` format's storage size 
is dependent on the backlog size and not on the number of unacked ranges. A 
backlog of 30M entries consumes about 5MB of storage (which exceeds the default 
`nettyMaxFrameSizeBytes`). There's a detail in the current implementation that 
compression isn't used when the cursor info is stored to bookkeeper. The 
compression is only used for metadata storage. 
The problem with the `managedLedgerPersistIndividualAckAsLongArray` format 
seems to be that after the state cannot be stored, the managed ledger will get 
into a bad state when the ledger rollover happens.

GitHub link: 
https://github.com/apache/pulsar/discussions/23990#discussioncomment-17242413

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to