Commit Graph

956 Commits

Author SHA1 Message Date
vgali7 a79f7f4b00
Fix text containing "/*" being interpreted as multiline comment in cqlsh
patch by Vineet Gali; reviewed by Brandon Williams, Brad Schoening for CASSANDRA-17667

Co-authored-by: Attila Homoki <biotep@yahoo.com>
Co-authored-by: Brad Schoening <bschoeni@gmail.com>
2024-09-24 13:21:24 +02:00
Brandon Williams a912085f5e Merge branch 'cassandra-3.11' into cassandra-4.0 2023-11-13 14:16:00 -06:00
Brandon Williams 46996c24bf Merge branch 'cassandra-3.0' into cassandra-3.11 2023-11-13 14:14:59 -06:00
Brandon Williams d41afac8bf Set cqlshlib.serverversion to UNKNOWN if not found
Patch by brandonwilliams; reviewed by mck and paulo for CASSANDRA-19020
2023-11-13 14:12:21 -06:00
Stefan Miklosovic 85285fa0f9
Merge branch 'cassandra-3.11' into cassandra-4.0 2023-10-18 12:54:15 +02:00
Stefan Miklosovic 6212b0aaa5
Merge branch 'cassandra-3.0' into cassandra-3.11 2023-10-18 12:52:19 +02:00
maoling f27c6c8e6e
Implement the logic in bin/stop-server
patch by Ling Mao; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-18838

Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
2023-10-18 12:49:58 +02:00
Stefan Miklosovic 1f79c84925
Merge branch 'cassandra-3.11' into cassandra-4.0 2023-09-05 16:51:37 +02:00
Stefan Miklosovic caad2f24f9
Merge branch 'cassandra-3.0' into cassandra-3.11 2023-09-05 16:50:00 +02:00
Stefan Miklosovic 65ee0d082c
Ninja fix for CASSANDRA-18745 2023-09-05 16:47:23 +02:00
Brandon Williams bf9d334f54 Merge branch 'cassandra-3.11' into cassandra-4.0 2023-08-18 13:57:18 -05:00
Brandon Williams b21645474a Merge branch 'cassandra-3.0' into cassandra-3.11 2023-08-18 13:57:06 -05:00
Brandon Williams 0b34ff6a0b ninja: fix format arg order 2023-08-18 13:57:01 -05:00
Brandon Williams ba50ec9cd9 Merge branch 'cassandra-3.11' into cassandra-4.0 2023-08-18 10:10:11 -05:00
Brandon Williams 1dd38998a0 Merge branch 'cassandra-3.0' into cassandra-3.11 2023-08-18 10:09:49 -05:00
Brandon Williams 6bb585bf5d Warn when cqlsh does not match the server version it was built with
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-18745
2023-08-18 10:08:52 -05:00
Stefan Miklosovic 1e6df948a7
Merge branch 'cassandra-3.11' into cassandra-4.0 2023-08-08 17:52:19 +02:00
Stefan Miklosovic 7f92f1bc22
Merge branch 'cassandra-3.0' into cassandra-3.11 2023-08-08 17:48:50 +02:00
Vineet Gali 28c04fbdde
Fix CQLSH online help topic link
patch by Vineet Gali; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-17534
2023-08-08 17:45:29 +02:00
vgali7 b4b9f31983
Migrate Python optparse to argparse
patch by Vineet Gali; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-17914
2023-07-25 09:54:09 +02:00
Stefan Miklosovic 5023a816e3 Merge branch 'cassandra-3.11' into cassandra-4.0 2022-08-15 10:10:28 +02:00
Stefan Miklosovic f821691239 Merge branch 'cassandra-3.0' into cassandra-3.11 2022-08-15 10:08:14 +02:00
Stefan Miklosovic ebddf77924 Improve libjemalloc resolution in bin/cassandra
patch by Stefan Miklosovic; reviewed by Brandon Williams and David Capwell for CASSANDRA-15767
2022-08-15 10:05:20 +02:00
Brad Schoening bccb5adf95 Remove path for unused geomet package in cqlsh
Patch by Brad Schoening; reviewed by brandonwilliams and bereng for
CASSANDRA-17271

Remove path for unused `geomet` package, which does not appear to be
used in CQLSH.  It is an optional dependency of the cassandra-driver in
a test case.
2022-01-20 10:09:09 -06:00
Jacek Lewandowski aaffb3b53e
Fixed broken classpath when multiple jars in build directory
Patch by Jacek Lewandowski reviewed by Michael Semb Wever and Brandon Williams for CASSANDRA-17129
2021-11-21 19:40:29 +01:00
Bowen Song 5f97977dfa Ensure the cqlsh shell script does not behave unexpectedly on Python 3.10+
patch by Bowen Song; revieewed by Ekaterina Dimitrova, Brandon Williams for CASSANDRA-16987
2021-09-27 15:00:50 -04:00
Brandon Williams 82e0453901 Merge branch 'cassandra-3.11' into cassandra-4.0 2021-07-16 07:58:00 -05:00
Brandon Williams b60f4fed33 Merge branch 'cassandra-3.0' into cassandra-3.11 2021-07-16 07:56:34 -05:00
Angelo Polo 75ddf76801 Ensure java executable is on the path.
Patch by Angelo Polo; reviewed by Aleksei Zotov, brandonwilliams and
edimitrova for CASSANDRA-14325
2021-07-16 07:54:35 -05:00
Ekaterina Dimitrova 77a370c424 Add a warning to cqlsh 6.0.0 that DESCRIBE does not work with a Cassandra 3.x servers
patch by Ekaterina Dimitrova; reviewed by Adam Holmberg and Benjamin Lerer for CASSANDRA-16652
2021-05-18 11:51:57 -04:00
Adam Holmberg 0301fc6cea cqlsh: fix DESC TYPE with non-ascii character in the identifier
Patch by Adam Holmberg; reviewed by brandonwilliams for CASSANDRA-16400
2021-05-17 14:54:58 -05:00
Adam Holmberg 9783d47b9f Fix in-browser "help", Python 3
authored Adam Holmberg, reviewed by Ekaterina Dimitrova and Andres de la Pena for CASSANDRA-16658
2021-05-14 18:00:34 -04:00
Benjamin Lerer 42138f12b7 Merge branch cassandra-3.11 into cassandra-4.0 2021-05-06 12:15:11 +02:00
Brian Houser 4169c43ad7 Maps $CASSANDRA_LOG_DIR to cassandra.logdir java property when executing
nodetool

patch by Brian Houser; reviewed by Benjamin Lerer for CASSANDRA-16199
2021-05-06 12:10:51 +02:00
Brandon Williams a3db11831a Revert "Fix cqlsh DESC TYPE with non-ascii character in the identifier"
This reverts commit 327d7c1803.
2021-05-05 07:21:53 -05:00
Adam Holmberg 327d7c1803 Fix cqlsh DESC TYPE with non-ascii character in the identifier
Patch by Adam Holmberg; reviewed by brandonwilliams for CASSANDRA-16400
2021-05-04 11:52:23 -05:00
Brandon Williams 288bb9d902 Fix cqlsh encoding error with unicode in multi-line statement
Patch by Adam Holmberg; reviewed by brandonwilliams for CASSANDRA-16539
2021-05-04 08:45:26 -05:00
Adam Holmberg b60acd5f6f
Remove explicit protocol version in cqlsh
patch by Adam Holmberg; reviewed by Mick Semb Wever for CASSANDRA-16508
2021-03-16 20:42:12 +01:00
Jeff Widman 021232006c Increase the cqlsh version number
patch by Jeff Widman; reviewed by Benjamin Lerer for CASSANDRA-16509
2021-03-11 18:09:05 +01:00
Jeff Widman 3d539d908f Update python2 doc references to point to py3
Patch by Jeff Widman; reviewed by brandonwilliams for CASSANDRA-16505
2021-03-09 17:15:07 -06:00
Adam Holmberg 72ca73fbc6 deprecate python2.7 for cqlsh
Patch by Adam Holmberg; reviewed by brandonwilliams for CASSANDRA-16414
2021-02-26 14:52:38 -06:00
Sam Tunnicliffe c9d6c725dd Promote protocol v5 from beta
Patch by Sam Tunnicliffe; reviewed by Alex Petrov and Eduard Tudenhoefner
for CASSANDRA-14973
2021-02-23 16:46:39 +00:00
Adam Holmberg cb71f23958 cqlsh row_id resets on page boundaries
patch by Adam Holmberg; reviewed by Brandon Williams, David Capwell for CASSANDRA-16160
2020-12-17 09:17:43 -08:00
Yuki Morishita d9e2ed00af Remove windows scripts and their references
patch by Yuki Morishita; reviewed by Berenguer Blasi and Andrés de la Peña for CASSANDRA-16171
2020-12-02 16:43:45 +00:00
Sam Tunnicliffe a7c4ba9eee Improve checksumming and compression in protocol V5
This reverts the changes made to the native protocol V5 wire format in
CASSANDRA-13304 and subsequent follow up JIRAs (CASSANDRA-15556 &
CASSANDRA-14716). The framing format has been re-implemented based on the
internode messaging format developed in CASSANDRA-15066.

OPTIONS and STARTUP messages are unframed (i.e. identical to the V4 format).
After sending its response to a STARTUP message, the server modifies the
pipeline and all further messages are sent (and should be expected by the
client to be received) in the format determined by the protocol version of
the STARTUP message.

Patch by Sam Tunnicliffe; reviewed by Alex Petrov and Caleb Rackliffe
for CASSANDRA-15299
2020-12-01 18:49:06 +00:00
Rens Groothuijsen 1b1b87cfe3
Strip comment blocks from cqlsh input before processing statements
patch by Rens Groothuijsen; reviewed by Mick Semb Wever for CASSANDRA-15802
2020-08-20 13:57:01 +02:00
Ekaterina Dimitrova 8abbfc1fc5 Fix unicode characters in cqlsh input
Patch by Ekaterina Dimitrova, reviewed by dcapwell and brandonwilliams
for CASSANDRA-15990
2020-08-19 10:33:19 -05:00
Caleb Rackliffe 47ac595036 Backport CASSANDRA-12189, formatting fixes
Patch by Caleb Rackliffe, reviewed by brandonwilliams for
CASSANDRA-15948
2020-07-15 14:20:53 -05:00
Caleb Rackliffe 5774415368 Backport CASSANDRA-12189, formatting fixes
Patch by Caleb Rackliffe, reviewed by brandonwilliams for
CASSANDRA-15948
2020-07-15 14:15:53 -05:00
Brandon Williams eebb9e02cd Merge branch 'cassandra-3.11' into trunk 2020-06-30 17:57:22 -05:00