Skip to content
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

Fix prepare messages opening unneccessary connections #1004

Conversation

rukai
Copy link
Member

@rukai rukai commented Jan 30, 2023

closes #978

Previously they would open against every node in the data center, instead we now only open against every node in the rack.
We make use of the RewriteTableTy::Prepare because that way we ensure the connections we open matches whatever nodes we will end up sending our prepare messages to, even if the logic for determining prepare nodes changes in the future.

@rukai rukai force-pushed the fix_prepare_messages_opening_unneccessary_connections branch from d1922ec to 50caa85 Compare January 30, 2023 23:33
@rukai rukai enabled auto-merge (squash) February 1, 2023 03:06
@rukai rukai merged commit b3f1698 into shotover:main Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Shotover is opening connections to nodes in other racks for preparing statements
3 participants