-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
replica_rac2: rm Ready scheduling on piggybacked #130585
Conversation
@sumeerbhola Alternatively (if, in this flow, |
@sumeerbhola Do we need this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the send-queue we will simply return the tokens, and if there is a send-queue we will already be waiting to be notified when tokens are available. That notification will happen on a separate goroutine, and then we will schedule processing on the raft scheduler (it was called ScheduleControllerEvent
in the prototype). So we don't need this ready processing.
Reviewed 5 of 5 files at r1, all commit messages.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @pav-kv)
Since the piggybacked admitted vectors are applied immediately from within the method that clears the queued updates, we no longer need to schedule a Ready cycle. Previously the token release would happen subsequently in Ready handler. Epic: none Release note: none
bba8c37
to
915fbf9
Compare
bors r=sumeerbhola |
Since the piggybacked admitted vectors are applied immediately from within the method that clears the queued updates, we no longer need to schedule a Ready cycle. Previously the token release would happen subsequently in Ready handler.
Related to #129508