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

Split ShotoverNodeConfig::address into address_for_peers and address_for_client #1780

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

rukai
Copy link
Member

@rukai rukai commented Oct 20, 2024

This PR splits ShotoverNodeConfig::address into address_for_peers and address_for_clients.
This allows shotover to support previously impossible networking setups where the shotover cluster communicates between itself using different addresses than is used by the clients to connect to the cluster.

The implementation is very straightforward: just replace the existing field with 2 new fields and use those fields in the appropriate places.

@rukai rukai force-pushed the address_for_peers/address_for_client branch 2 times, most recently from 45ce64b to 8007ab5 Compare October 20, 2024 22:54
Copy link

codspeed-hq bot commented Oct 20, 2024

CodSpeed Performance Report

Merging #1780 will not alter performance

Comparing rukai:address_for_peers/address_for_client (00cd7cd) with main (f327c96)

Summary

✅ 38 untouched benchmarks

@rukai rukai force-pushed the address_for_peers/address_for_client branch 3 times, most recently from 80a6dff to 2dcfb05 Compare October 21, 2024 00:00
@rukai rukai marked this pull request as ready for review October 21, 2024 00:45
@rukai rukai changed the title Split ShotoverNode::address into address_for_peers and address_for_client Split ShotoverNodeConfig::address into address_for_peers and address_for_client Oct 21, 2024
@rukai rukai force-pushed the address_for_peers/address_for_client branch from 0111317 to 260dc4e Compare October 21, 2024 00:53
@rukai rukai force-pushed the address_for_peers/address_for_client branch from 260dc4e to 00cd7cd Compare October 21, 2024 02:14
@rukai rukai enabled auto-merge (squash) October 21, 2024 02:27
@rukai rukai merged commit 61b5a98 into shotover:main Oct 21, 2024
41 checks passed
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.

3 participants