Skip to content

CASSANDRA-13342: Document failure reason codes in native protocol v5 …#4689

Open
Shanzita wants to merge 1 commit intoapache:trunkfrom
Shanzita:13342-trunk
Open

CASSANDRA-13342: Document failure reason codes in native protocol v5 …#4689
Shanzita wants to merge 1 commit intoapache:trunkfrom
Shanzita:13342-trunk

Conversation

@Shanzita
Copy link

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

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 the Read_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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants