-
Notifications
You must be signed in to change notification settings - Fork 9.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
Support specifying MaxBytes in range request #16300
base: main
Are you sure you want to change the base?
Conversation
Added label |
7091145
to
65d3aeb
Compare
/lgtm |
failed test seems flaky to me
|
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.
Raised a couple of minor comment on copy/pastes typos, and a major comment in #14809 (comment)
@@ -296,6 +300,8 @@ func OpPut(key, val string, opts ...OpOption) Op { | |||
panic("unexpected filter in put") | |||
case ret.createdNotify: | |||
panic("unexpected createdNotify in put") | |||
case ret.maxBytes != 0: | |||
panic("unexpected maxBytes in delete") |
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.
panic("unexpected maxBytes in delete") | |
panic("unexpected maxBytes in put") |
@@ -323,6 +329,8 @@ func opWatch(key string, opts ...OpOption) Op { | |||
panic("unexpected mod revision filter in watch") | |||
case ret.minCreateRev != 0, ret.maxCreateRev != 0: | |||
panic("unexpected create revision filter in watch") | |||
case ret.maxBytes != 0: | |||
panic("unexpected maxBytes in delete") |
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.
panic("unexpected maxBytes in delete") | |
panic("unexpected maxBytes in watch") |
65d3aeb
to
710ced8
Compare
Signed-off-by: Eric Lin <[email protected]>
Signed-off-by: Eric Lin <[email protected]>
Run 1. ./scripts/genproto.sh 2. ./scripts/update_proto_annotations.sh Signed-off-by: Eric Lin <[email protected]>
Signed-off-by: Eric Lin <[email protected]>
Signed-off-by: Eric Lin <[email protected]>
Signed-off-by: Eric Lin <[email protected]>
710ced8
to
d48d3e2
Compare
Discussed during sig-etcd triage meeting, @linxiulei should we close this for now given a KEP is required before we could progress it (as discussed in linked issue). |
This is superseded with https://github.com/kubernetes/enhancements/blob/master/keps/sig-api-machinery/3157-watch-list/README.md, on the other hand etcd should think about our own WatchList :P |
fixes: #14809
Please also refer to previously closed PR