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

CDC and VIEW writeType missing from spec for write_timeout / write_failure

    XMLWordPrintableJSON

    Details

      Description

      In cassandra 3.0 a new WriteType VIEW was added which appears to be used when raising a WriteTimeoutException when the local view lock for a key cannot be acquired within timeout.

      In cassandra 3.8 CDC WriteType was added for when cdc_total_space_in_mb is exceeded when doing a write to data tracked by cdc.

      The v4 spec currently doesn't cover these two write types. While the protocol allows for a free form string for write type, it would be nice to document that types are available since some drivers (java, cpp, python) attempt to deserialize write type into an enum and may not handle it well.

        Attachments

          Activity

            People

            • Assignee:
              vinaykumarcse Vinay Chella
              Reporter:
              andrew.tolbert Andy Tolbert
              Authors:
              Vinay Chella
              Reviewers:
              Joey Lynch
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: