VirtualSelect commented on issue #11663: URL: https://github.com/apache/rocketmq/issues/11663#issuecomment-7306160698
I’d like to investigate this if it’s still available. On current develop, DLedger promotion normally waits for committed-index parity and `dispatchBehindBytes() == 0`, then calls `recoverTopicQueueTable()`. That method rebuilds offset bookkeeping from the consume queues; the DLedger startup recovery paths have separate consume-queue truncation logic. I haven’t reproduced the reported runtime sequence yet. I’d first check whether runtime truncation can leave a stale consume-queue entry or dispatch cursor on current develop, using the same path without a restart and a no-truncation control. I’d keep this separate from the auto-switch HA guard in #11617. Is anyone already working on it, and would you be comfortable assigning that DLedger-only scope to me? I’ll wait for confirmation before implementing a storage behavior change. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
