-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix queue cleanup in proposer #93
Conversation
Queue was moved further than truncateLsn, when quorumLsn matched end of wal record in the middle of queue message
Fix seems to work, but it's hard to test it, because it's hard to reliably reproduce the initial bug with violation of streaming starting point. Here are CI runs with this fix applied. They mostly work fine, but some tests failed several times because of other reasons. Pipeline #2523 failed with |
I have added minor comment and assertion. Let's merge if they are ok (and once question above is sorted out). |
I pushed branch to zenith to test this patch in CI. I think we can merge it after pipeline succeeds. |
Queue was moved further than truncateLsn, when quorumLsn matched end of wal record in the middle of queue message. Fix cleanup of unreceived messages. Co-authored-by: Arseny Sher <[email protected]>
Queue was moved further than truncateLsn, when quorumLsn matched end of wal record in the middle of queue message. Fix cleanup of unreceived messages. Co-authored-by: Arseny Sher <[email protected]>
Queue was moved further than truncateLsn, when quorumLsn matched end of wal record in the middle of queue message. Fix cleanup of unreceived messages. Co-authored-by: Arseny Sher <[email protected]>
Queue was moved further than truncateLsn, when quorumLsn matched end of wal record in the middle of queue message. Fix cleanup of unreceived messages. Co-authored-by: Arseny Sher <[email protected]>
Queue was moved further than truncateLsn, when quorumLsn matched end of wal record in the middle of queue message. Fix cleanup of unreceived messages. Co-authored-by: Arseny Sher <[email protected]>
Queue was moved further than truncateLsn, when quorumLsn matched end of wal record in the middle of queue message. Fix cleanup of unreceived messages. Co-authored-by: Arseny Sher <[email protected]>
Queue was moved further than truncateLsn, when quorumLsn matched end of wal record in the middle of queue message. Fix cleanup of unreceived messages. Co-authored-by: Arseny Sher <[email protected]>
Queue was moved further than truncateLsn, when quorumLsn matched end of wal record in the middle of queue message. Fix cleanup of unreceived messages. Co-authored-by: Arseny Sher <[email protected]>
Queue was moved further than truncateLsn, when quorumLsn matched end of wal record in the middle of queue message. Fix cleanup of unreceived messages. Co-authored-by: Arseny Sher <[email protected]>
Queue was moved further than truncateLsn, when quorumLsn matched end of wal record in the middle of queue message. Fix cleanup of unreceived messages. Co-authored-by: Arseny Sher <[email protected]>
Queue was moved further than truncateLsn, when quorumLsn matched end of wal record in the middle of queue message. Fix cleanup of unreceived messages. Co-authored-by: Arseny Sher <[email protected]>
Queue was moved further than truncateLsn, when quorumLsn matched end of wal record in the middle of queue message. Fix cleanup of unreceived messages. Co-authored-by: Arseny Sher <[email protected]>
Queue was moved further than truncateLsn, when quorumLsn matched end of wal record in the middle of queue message. Fix cleanup of unreceived messages. Co-authored-by: Arseny Sher <[email protected]>
Queue was moved further than truncateLsn, when quorumLsn matched end of wal record in the middle of queue message. Fix cleanup of unreceived messages. Co-authored-by: Arseny Sher <[email protected]>
Queue was moved further than truncateLsn, when quorumLsn matched end of wal record in the middle of queue message. Fix cleanup of unreceived messages. Co-authored-by: Arseny Sher <[email protected]>
There was a problem when
msgQueueHead
was moved further thantruncateLsn
, whenminQuorumLsn
matched end of wal record in the middle of queue message. When this happened, safekeeper started receiving WAL from the middle of WAL record and couldn't parse it.This is fixed by splitting
truncateLsn
advancement and queue cleanup. Closes #91