Fix C*/DSE protocol lowering attempts when cass_cluster_set_use_beta_protocol_version is true

Description

Cassandra beta protocols are skipped when using the DSE driver, connecting to a Apache Cassandra v4.0.0 server, and applying the beta protocol to the cluster instance (cass_cluster_set_use_beta_protocol_version()).

Example of protocol negotiation skipping v5-beta

Environment

None

Pull Requests

None

Activity

Show:
Michael Penick
November 13, 2019, 1:16 AM
Michael Penick
November 14, 2019, 1:54 AM

Instead of changing the protocol negotiation I recommend the following approach:
1) Make the default protocol DSEv2 and remove it from the beta status (update comments in `cassandra.h`)
2) `cass_cluster_set_use_beta_protocol_version()` should use `CASS_PROTOCOL_VERSION_V5` (update comments in `cassandra.h`)
3) Inherit the existing protocol negotiation from the DSE driver and remove `DSE_NEWEST_BETA_PROTOCOL_VERSION`

Fixed

Assignee

Unassigned

Reporter

Michael Fero

Labels

None

PM Priority

None

Reproduced in

None

External issue ID

None

Doc Impact

None

Reviewer

None

Pull Request

None

Size

M

Epic Link

Fix versions

Priority

Minor