-
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
kvfeed: break Gossip dependency #47971
Comments
This is higher level than any usage of range feeds that the system will depend on. This is squarely in the changefeeds realm. Falling back to 1 will be the move. I can tackle this such that a |
👍 no rush, you may want to wait for #47972 until you make your move. Removing blocker label though, since it doesn't seem like a blocker at all. |
54256: sql: make multi-tenancy errors report to telemetry r=asubiotto a=knz Fixes #48164. Issues referenced, I also added the X-anchored-telemetry label to them on github (we keep those issues open on github until their reference in the code is removed): #54254 #54255 #54250 #54251 #54252 #49854 #48274 #47150 #47971 #47970 #47900 #47925 Co-authored-by: Raphael 'kena' Poss <knz@thaumogen.net>
cc @cockroachdb/cdc |
@miretskiy I'm getting this out of my queue. It's about tuning the scan concurrency. Much more sophisticated mechanisms have been discussed of late. This one here we use today is silly. Maybe we've removed this already. |
cc @cockroachdb/cdc |
discussed with knz offline, the assignment changes were made by mistake, this is still a CDC issue |
101096: changefeedccl: Break gossip dependency r=miretskiy a=miretskiy Break the dependency on Gossip library which was used to determine the number of nodes in the cluster in order to limit scanner concurrency. Instead, rely on the range descriptors in order to determine how many nodes host the ranges that need to be scanned. Fixes #47971 Release note: None Co-authored-by: Yevgeniy Miretskiy <yevgeniy@cockroachlabs.com>
Background
I believe the only actual dependency is here:
cockroach/pkg/ccl/changefeedccl/kvfeed/scanner.go
Line 245 in f176a39
It should be easy to avoid it by falling back to
1
. We don't anticipate slurping lots of data, though we do expect to use range feeds to replace Gossip #47150, which I think (can't quite tell from first glance) will exercise this code (hence A-multitenancy-blocker).Jira issue: CRDB-4369
Epic: CRDB-26091
The text was updated successfully, but these errors were encountered: