-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Fixes long wait filter keyspace #6721
Fixes long wait filter keyspace #6721
Conversation
Signed-off-by: Rafael Chacon <rafael@slack-corp.com>
… should be filtered Signed-off-by: Rafael Chacon <rafael@slack-corp.com>
do you know whether this also needs to be fixed on the new gateway ( |
f024ae1
to
dbfe684
Compare
Signed-off-by: Rafael Chacon <rafael@slack-corp.com>
dbfe684
to
0d66346
Compare
…s-long-wait-filter-keyspace-upstream Signed-off-by: Rafael Chacon <rafael@slack-corp.com>
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.
The implementation feels a bit fragile. We are mutating the arguments passed to an exported function. Even though existing uses of that function are such that this won't cause problems, given that it is an exported function, I feel that it is not a good idea.
How about creating a new slice that consists of only the relevant keyspaces and returning that instead of operating directly on targets
?
…gateways Signed-off-by: Rafael Chacon <rafael@slack-corp.com>
I think this is a good idea. I was on the fence because the existent code already mutates this same slice. I updated the code with your suggestion. We should probably do something similar here |
Signed-off-by: Rafael Chacon <rafael@slack-corp.com>
c8241ef
to
b238f25
Compare
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.
LGTM
…r-keyspace-upstream Fixes long wait filter keyspace
…it-filter-keyspace-upstream" This reverts commit 6b9229e.
…r-keyspace-upstream Fixes long wait filter keyspace
Description
WaitForTablets
for existent and new functionality.