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>
deepthi
left a comment
There was a problem hiding this comment.
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
…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
WaitForTabletsfor existent and new functionality.