Skip to content

Fix[mqb]: send Receipts on data sync#1265

Open
dorjesinpo wants to merge 1 commit intomainfrom
fix/implicit-receipts
Open

Fix[mqb]: send Receipts on data sync#1265
dorjesinpo wants to merge 1 commit intomainfrom
fix/implicit-receipts

Conversation

@dorjesinpo
Copy link
Copy Markdown
Collaborator

After primary failover, the new primary writes SC messages and adds them to d_unreceipted. It replicates to all replicas. A replica that is still recovering buffers these
replication events. When recovery completes, the buffered events are applied via processRecoveryEvent, which — unlike processStorageEvent — doesn't check
e_RECEIPT_REQUESTED and doesn't send receipts. The new primary never accumulates enough receipts to reach quorum, so ACKs are never delivered.

Signed-off-by: dorjesinpo <129227380+dorjesinpo@users.noreply.github.com>
@dorjesinpo dorjesinpo requested a review from a team as a code owner April 6, 2026 22:44
@dorjesinpo dorjesinpo added the bug Something isn't working label Apr 6, 2026
@dorjesinpo dorjesinpo changed the title Send Receipts on data sync Fix[mqb]: send Receipts on data sync Apr 7, 2026
@678098 678098 self-assigned this Apr 9, 2026
@678098 678098 assigned dorjesinpo and unassigned 678098 Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants