Handle new WRITE_FAILURE and READ_FAILURE format in DSE v1 protocol

Description

CASSANDRA-12311 changed the format of WRITE_FAILURE and READ_FAILURE responses in protocol dse_v1:

  • <numfailures> in Read_failure and Write_failure error message bodies (Section 9)
    has been replaced with <reasonmap>. The <reasonmap> maps node IP addresses to
    a failure reason code which indicates why the request failed on that node.

The existing code expects the v4 format and breaks.

Environment

None

Pull Requests

None
Fixed

Assignee

Unassigned

Reporter

Olivier Michallat

Labels

None

PM Priority

None

Reproduced in

None

Affects versions

Fix versions

Pull Request

None

Doc Impact

None

Size

None

External issue ID

None

External issue ID

None

Priority

Major
Configure