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

Fixed cluster discovery logic and cofiguration #75

Merged
merged 3 commits into from
Jun 19, 2024

Conversation

kelvinmwinuka
Copy link
Collaborator

Changes:

  • Default bind address for the EchoVault server is 127.0.0.1.
  • --memberlist-port configuration option renamed to --discovery-port.
  • Removed RaftBindPort configuration option. Raft bind address and port are now dynamically determined at runtime. When a new node joins a cluster it will advertise its raft address and port to its peers.

…ly assigned on startup instead of configured manually. Replaced memberlist-port configuration with discovery-port.
@kelvinmwinuka kelvinmwinuka self-assigned this Jun 19, 2024
Copy link

codecov bot commented Jun 19, 2024

Codecov Report

Attention: Patch coverage is 0% with 64 lines in your changes missing coverage. Please review.

Project coverage is 80.32%. Comparing base (75baaa5) to head (9c2b4d4).

Files Patch % Lines
internal/config/config.go 0.00% 35 Missing ⚠️
internal/config/default.go 0.00% 29 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #75      +/-   ##
==========================================
- Coverage   80.45%   80.32%   -0.13%     
==========================================
  Files          48       48              
  Lines        8048     8057       +9     
==========================================
- Hits         6475     6472       -3     
- Misses       1102     1114      +12     
  Partials      471      471              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kelvinmwinuka kelvinmwinuka merged commit f3cf011 into main Jun 19, 2024
1 of 3 checks passed
@kelvinmwinuka kelvinmwinuka deleted the fix/cluster-advertise branch June 19, 2024 20:34
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.

1 participant