Skip to content

Add support for CDC_WRITE_FAILURE and CAS_WRITE_UNKNOWN error codes #42

@adutra

Description

@adutra

Protocol v5 defines two additional error codes in the 1.x series that are currently not handled at all:

0x1600    CDC_WRITE_FAILURE: // todo
0x1700    CAS_WRITE_UNKNOWN: An exception occured due to contended Compare And Set write/update.
          The CAS operation was only partially completed and the operation may or may not get completed by
          the contending CAS write or SERIAL/LOCAL_SERIAL read. The rest of the ERROR message body will be
            <cl><received><blockfor>
          where:
            <cl> is the [consistency] level of the query having triggered
                 the exception.
            <received> is an [int] representing the number of nodes having
                       acknowledged the request.
            <blockfor> is an [int] representing the number of replicas whose
                       acknowledgement is required to achieve <cl>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions