CASSANDRA-13342: Document failure reason codes in native protocol v5 …#4689
Open
Shanzita wants to merge 1 commit intoapache:trunkfrom
Open
CASSANDRA-13342: Document failure reason codes in native protocol v5 …#4689Shanzita wants to merge 1 commit intoapache:trunkfrom
Shanzita wants to merge 1 commit intoapache:trunkfrom
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the Cassandra native protocol v5 specification to document the currently defined per-replica failure reason codes used in Read_failure (0x1300) and to reference that same code set from Write_failure (0x1500), improving client-facing documentation without changing runtime behavior.
Changes:
- Added a documented list of the 13 currently defined
<failure_code>values (with meanings) to theRead_failure<reason_map>section. - Added a cross-reference in the
Write_failure<reason_map>section pointing to the same<failure_code>list.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Document failure reason codes in native protocol v5 spec
Added the 13 currently defined
<failure_code>values to the<reason_map>documentation in the Read_failure section (0x1300), and a reference to them
in the Write_failure section (0x1500). Documentation only — no code changes.
patch by Shanzita Siddiqua; reviewed by TBD for CASSANDRA-13342