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

Including quorum logic for PUT and GET operations #3

Merged
merged 4 commits into from
Jun 1, 2024

Conversation

rcmgleite
Copy link
Owner

  1. Included e2e tests
  2. multiple changes on the Error hierarchy
  3. new cmd ClusterState added so that tests can know when the state has been properly propagated

Existing issues:

1. Logic is really bad
2. API for client PUT and GET require a new boolean for replicaion -
   this is also pretty bad
3. On PUT, only the owner of the key will accept the PUT. This is not
   what a dynamo-style db would do.
The goal here is to include client facing tests so that implementing the
cluster version of PUT and GET is easier

Also included an initial graceful shutdown handling.
1. Very basic tests
2. A lot of infra code created in this single commit.. not great
3. The tests take forever to run because we have to wait for the cluster
   state to be propagated.. have to find a better way to do this
4. The server config is now hardcoded and not part of the test itself..
   we should have a ServerBuilder to help with building test servers
@codecov-commenter
Copy link

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@rcmgleite rcmgleite merged commit 284f319 into master Jun 1, 2024
7 checks passed
@rcmgleite rcmgleite deleted the rafael-quorum branch June 1, 2024 23:36
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.

2 participants