Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-13986

Fix native protocol v5 spec for new_metadata_id position in Rows response

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • None
    • None
    • None
    • Low

    Description

      There's a mistake in the protocol specification for CASSANDRA-10786. In `native_protocol_v5.spec`, section 4.2.5.2:

      4.2.5.2. Rows
      
        Indicates a set of rows. The rest of the body of a Rows result is:
          <metadata><rows_count><rows_content>
        where:
          - <metadata> is composed of:
              <flags><columns_count>[<new_metadata_id>][<paging_state>][<global_table_spec>?<col_spec_1>...<col_spec_n>]
      

      The last line should be:

              <flags><columns_count>[<paging_state>][<new_metadata_id>][<global_table_spec>?<col_spec_1>...<col_spec_n>]
      

      That is, if there is both a paging state and a new metadata id, the paging state comes first, not second.

      Attachments

        Issue Links

          Activity

            People

              ifesdjeen Alex Petrov
              omichallat Olivier Michallat
              Alex Petrov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: