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

Add support for setting the serial consistency level for leader election #86

Open
wants to merge 2 commits into
base: master_v4
Choose a base branch
from

Conversation

ane
Copy link

@ane ane commented Jan 19, 2024

Defaulting to SERIAL, the LWTs used for leader election now have the consistency levels configurable, and are no longer using QUORUM, since that doesn't make sense for LWTs anyway. I don't know what C* does when you pass a LWT using QUORUM, it probably defaults to SERIAL.

This should fix #45

Defaulting to SERIAL, the LWTs used for leader election now have the consistency
levels configurable, and are no longer using QUORUM, since that doesn't make
sense for LWTs anyway. I don't know what C* does when you pass a LWT using QUORUM,
it probably defaults to SERIAL.
@ane ane force-pushed the migration-leader-consistency-level branch from fad3313 to 6b95995 Compare January 19, 2024 09:36
@ane
Copy link
Author

ane commented Jan 19, 2024

I also added a simple Github Action for running mvn test for CI.

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.

Exception while trying to run multiple services connecting to same Cassandra
1 participant