[
https://issues.apache.org/jira/browse/CASSANDRA-10514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Philip Thompson updated CASSANDRA-10514:
----------------------------------------
Labels: cqlsh (was: )
> cqlsh should perform version check between server and client and give warning
> when they mismatch
> ------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-10514
> URL: https://issues.apache.org/jira/browse/CASSANDRA-10514
> Project: Cassandra
> Issue Type: Improvement
> Components: Tools
> Reporter: Wei Deng
> Labels: cqlsh
>
> We should have cqlsh to perform a quick version check against the server it
> connects to, and if it is running a different version, it should give
> warnings to the user of cqlsh.
> For example, I've seen somebody confused by cqlsh "COPY TO" under C* 2.1 not
> working as expected: Because of our improvement in CASSANDRA-7405, "COPY TO"
> should be able to leverage CQL paging and handle much bigger table now;
> however, when they tried to use "COPY TO" in cqlsh to dump a system table for
> troubleshooting, they still ran into timeout errors; turned out that they
> accidentally left older 2.0 cqlsh in path. If we had this warning when cqlsh
> starts we could have avoided this situation.
> I understand that 2.0 branch is frozen (and fixing cqlsh in 2.0 might not be
> feasible) so the above might not be a perfect example. However, to be able to
> spot the version difference between cqlsh and C* server for future C*
> versions should still be a good improvement for usability.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)