Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Slot migration improvement #245
Slot migration improvement #245
Changes from all commits
c11b65d
03196a4
9b95b1e
f4e84d0
fac9a06
2d004b3
4cef2b4
10944e6
907de8c
58108ea
844c3a9
1aa0585
f910041
dc97cc3
ecfd3b0
aa54049
abcf439
f7e7339
b6799bd
76f5eff
2446994
5bd8e05
758ecd8
a51b146
f36330a
4f55dc2
4ddf884
e42cb94
ad5c7f8
11fc143
a9fe543
8afc34c
6f459da
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Do we need two separate blocked states, can we instead just use the CLIENT_PENDING_COMMAND flags?
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.
CLIENT_PENDING_COMMAND is not a blocked state. that said, I do feel that we have a proliferation of blocked/wait states, like
wait
,waitaof
, and nowwait_prerepl
. let me see if there is a way to improve this in the next PR. let's leave this comment open.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.
I agree. I'm saying we already have the notion that a client is blocked with a pending command, that can get re-executed once the blocking is done. (That is how the normal command blocking works). The blocking mechanic is functionally the same as the other wait (wait for a replack from k replicas then unblock).
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.
I agree. there is definitely room for improvement. filed #427 to track this improvement.
Large diffs are not rendered by default.
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.
I found the words pre-replication is shown in several places, but I do not understand what it is (sorry missed your previous pr), Can you add a more detail explanations here so everyone can know its meaning after some time later, Thanks
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.
will address in the follow up PR