CASSANDRA-21155: Fix CQL version errors in QuickStart guide#310
CASSANDRA-21155: Fix CQL version errors in QuickStart guide#310arvindKandpal-ksolves wants to merge 1 commit intoapache:trunkfrom
Conversation
|
Is there really any reason why we're specifying Is it possible to just removed them altogether…? |
I'm not sure to be honest as I haven't read the source code for both cassandra and cqlsh. But at least 3.4.5 and 3.4.6 isn't the correct versions. So I'd rather just fix them now and discuss whether we need them later. |
Thanks for implementing the fix, Arvind. |
The QuickStart guide currently references CQL versions
3.4.5and3.4.6in thedocker runcommands. However, thecassandra:latestimage (currently Cassandra 5.0.x) runs CQL spec 3.4.7.Attempting to follow the current guide results in a connection failure because the older CQL versions are not supported by the latest image.
Verification:
Running the command from the current guide fails:
ProtocolError("cql_version '3.4.5' is not supported... Supported versions: [u'3.4.7']")Running with updated version (3.4.7) succeeds:
[cqlsh 5.0.1 | Cassandra 5.0.6 | CQL spec 3.4.7 | Native protocol v5]Changes:
CQLVERSIONenv var in Step 4 to3.4.7.--cqlversionflag in Step 5 to3.4.7.patch by Arvind Kandpal; reviewed by TBD for CASSANDRA-21155