Repository navigation
feat(cassandra): set the consistency level per connection and with CONSISTENCY - #3716
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
LOCAL_ONE; the serial level is left to the server unless set.CONSISTENCY [level]andSERIAL CONSISTENCY [level]in the CQL editor change the level for the connection's session, as cqlsh does, and never reach the server. A command run into another statement is refused.USE. Count Exactly, export and import run on a pooled connection at the Options level.Consistency: QUORUM, plusserial: LOCAL_SERIALon a lightweight transaction.LOCAL_QUORUM. AtLOCAL_ONEit refused every write.ANYor an unreachable level keeps the sidebar and ping working.apple/scripts/probes/check-cassandra-consistency.sh: the plugin is registry-only and has no test target.Test plan
check-cassandra-consistency.shagainst single-nodecassandra:5.0: PASS. A read succeeds at ONE and fails at TWO, so the level reaches the wire. Also covers the commands, comments, refusals, LWT serial status, capped reads, browse, streaming, reconnect, connection fields and Keyspaces detection.StatusBarSnapshotTests,MultiStatementResultMessageTests,PluginMetadataRegistryCuratedCapabilityTests.verify.sh build,test,plugins,lint,l10n,docs.Docs: TableProApp/docs#73
Fixes #2513