Commit Graph

13493 Commits

Author SHA1 Message Date
Stefan Miklosovic 9a08062f1b
Merge branch 'cassandra-4.1' into trunk 2023-02-17 16:40:15 +01:00
Stefan Miklosovic 9860c1e9d9
Fix copying of JAR of a trigger to temporary file
While testing the fix for trigger, we fixed the corresponding
trigger example. While on it, we detected that ssl-factory example was
not working either so it is fixed in this commit as well.

patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-18264
2023-02-17 16:36:42 +01:00
Stefan Miklosovic 8d54835d5b
Merge branch 'cassandra-4.1' into trunk 2023-02-17 15:46:10 +01:00
Stefan Miklosovic cfe9641fbe
Fix possible NoSuchFileException when removing a snapshot
patch by Stefan Miklosovic; reviewed by Jacek Lewandowski for CASSANDRA-18211

Co-authored-by: Jacek Lewandowski <lewandowski.jacek@gmail.com>
2023-02-17 15:42:03 +01:00
Stefan Miklosovic 6ed6b520fd
Merge branch 'cassandra-4.1' into trunk 2023-02-15 13:43:36 +01:00
Stefan Miklosovic a49efd8b44
Merge branch 'cassandra-4.0' into cassandra-4.1 2023-02-15 13:39:00 +01:00
Stefan Miklosovic fcc16f5f2b
Update zstd-jni to version 1.5.4-1
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-18259
2023-02-15 13:37:01 +01:00
Stefan Miklosovic 63993e10df
Merge branch 'cassandra-4.1' into trunk 2023-02-15 10:41:55 +01:00
Stefan Miklosovic 62aab9c9df
Merge branch 'cassandra-4.0' into cassandra-4.1 2023-02-15 10:41:07 +01:00
Stefan Miklosovic 7b079503eb
Increment version to 4.0.9 2023-02-15 10:12:15 +01:00
Mick Semb Wever 86604f5038
Prepare for JDK17 experimental support
Removes the use of CASSANDRA_USE_JDK11 and introduces the build.xml properties `java.default` and `java.supported`.

 patch by Mick Semb Wever; reviewed by Ekaterina Dimitrova for CASSANDRA-18179
2023-02-12 20:43:46 +01:00
Ekaterina Dimitrova a0ec0ae303 Remove scripted UDFs, remove related tests or rewrite some tests to create java UDFs instead, where it makes sense
patch by Ekaterina Dimitrova; reviewed by Michael Semb Wever for CASSANDRA-18252
2023-02-12 10:18:29 -05:00
Brandon Williams a8b1fb6ae6 Upgrade JNA to 5.13.0
Patch by brandonwilliams; reviewed by mck for CASSANDRA-18050
2023-02-10 05:46:18 -06:00
Stefan Miklosovic 452ad8ce70
Make virtual tables decide if they implicitly enable ALLOW FILTERING
patch by Stefan Miklosovic; reviewed by Aleksey Yeschenko for CASSANDRA-18238
2023-02-09 14:22:26 +01:00
Stefan Miklosovic a68c0983b4
Merge branch 'cassandra-4.1' into trunk 2023-02-07 15:56:24 +01:00
Stefan Miklosovic bbe936a236
Merge branch 'cassandra-4.0' into cassandra-4.1 2023-02-07 15:53:51 +01:00
Stefan Miklosovic b8494a8275
Log warning message on aggregation queries without key or on multiple keys
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-18219
2023-02-07 15:47:36 +01:00
Stefan Miklosovic 993095739d
Merge branch 'cassandra-4.1' into trunk 2023-02-07 14:40:44 +01:00
Stefan Miklosovic 6a23fae4b8
Merge branch 'cassandra-4.0' into cassandra-4.1 2023-02-07 14:37:55 +01:00
nvharikrishna b74c86404a
Fix the output of FQL dump tool to properly separate entries
patch by N V Harikrishna; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-18215
2023-02-07 14:34:23 +01:00
Jordan West 2d323cb565 Add row,tombstone,and sstable count to profileload
Patch by Jordan West; Reviewed by David Capwell for CASSANDRA-18022
2023-02-05 17:26:57 -08:00
Brandon Williams a07c15d72d Merge branch 'cassandra-4.1' into trunk 2023-02-02 11:46:40 -06:00
Brandon Williams 209ba28b4d Merge branch 'cassandra-4.0' into cassandra-4.1 2023-02-02 11:46:31 -06:00
yongj 0c58fbb8dd Add cache type information for maximum memory usage warning message
Patch by Yong Jiang; reviewed by brandonwilliams and smiklosovic for
CASSANDRA-18184
2023-02-02 11:45:52 -06:00
Stefan Miklosovic 67b483b5c8
Merge branch 'cassandra-4.1' into trunk 2023-02-01 15:35:20 +01:00
Stefan Miklosovic bede10f36c
Merge branch 'cassandra-4.0' into cassandra-4.1 2023-02-01 15:28:50 +01:00
nvharikrishna ba434b8231
Fix NPE in fqltool dump on null value
If fullquerylog is enabled and a prepared query executed with null value
binded, then fqltool dump is running into NPE. Checking value for null before
wrapping it.

patch by N V Harikrishna; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-18113
2023-02-01 14:46:44 +01:00
Jacek Lewandowski 763793e89d Merge branch 'cassandra-4.1' into trunk 2023-02-01 09:49:17 +01:00
Jacek Lewandowski dcc19cf865 Merge branch 'cassandra-4.0' into cassandra-4.1 2023-02-01 09:47:12 +01:00
Jacek Lewandowski 9bf128aaa3 Improve unit tests performance
- Don't flush schema on every schema update in unit tests
- Use unix command to delete test data
- Shorten teardown
- Stable processor count presented by JMX on Jenkins, CircleCI and local

Patch by <jacek-lewandowski>, reviewed by <michaelsembwever> and <josh-mckenzie> for CASSANDRA-17427
2023-02-01 09:40:50 +01:00
Brandon Williams 15d47f8e3f Merge branch 'cassandra-4.1' into trunk 2023-01-30 07:31:00 -06:00
Brandon Williams f18ffe1b97 Merge branch 'cassandra-4.0' into cassandra-4.1 2023-01-30 07:30:54 -06:00
Brandon Williams f8ad33ed4e Merge branch 'cassandra-3.11' into cassandra-4.0 2023-01-30 07:30:32 -06:00
Brandon Williams 89266aadde Suppress CVE-2022-41915
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-18147
2023-01-30 07:29:14 -06:00
Brandon Williams 1f58f48e6e Merge branch 'cassandra-4.1' into trunk 2023-01-30 07:26:44 -06:00
Brandon Williams 561e3dc757 Merge branch 'cassandra-4.0' into cassandra-4.1 2023-01-30 07:26:36 -06:00
Brandon Williams 0d0c5695df Merge branch 'cassandra-3.11' into cassandra-4.0 2023-01-30 07:26:16 -06:00
Brandon Williams 5ac75323cd Merge branch 'cassandra-3.0' into cassandra-3.11 2023-01-30 07:24:41 -06:00
Brandon Williams 7ad693581b Suppress CVE-2022-41915
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-18147
2023-01-30 07:23:21 -06:00
Brandon Williams 9b740da875 Merge branch 'cassandra-4.1' into trunk 2023-01-30 07:05:49 -06:00
Brandon Williams 5dbeee258c Merge branch 'cassandra-4.0' into cassandra-4.1 2023-01-30 07:05:42 -06:00
Maciej Sokol 0b7e3a8ee7 Connect to listen address when own broadcast address is requested
Patch by Maciej Sokol; reviewed by brandonwilliams and smiklosovic for
CASSANDRA-18200
2023-01-30 07:04:41 -06:00
Stefan Miklosovic 61a83b3cef
Merge branch 'cassandra-4.1' into trunk 2023-01-28 17:55:57 +01:00
Stefan Miklosovic b81d39306c
Merge branch 'cassandra-4.0' into cassandra-4.1 2023-01-28 17:11:29 +01:00
Stefan Miklosovic 2a8e1972fd
Merge branch 'cassandra-3.11' into cassandra-4.0 2023-01-28 16:54:39 +01:00
Stefan Miklosovic 8076f37c06
Merge branch 'cassandra-3.0' into cassandra-3.11 2023-01-28 16:33:36 +01:00
Stefan Miklosovic 4c8e9097bd
Introduce check for names of test classes
patch by Stefan Miklosovic; reviewed by Berenguer Blasi and David Capwell for CASSANDRA-17943
2023-01-28 16:18:51 +01:00
David Capwell 4971483b7f Merge branch 'cassandra-4.1' into trunk 2023-01-27 12:36:20 -08:00
David Capwell 1c71e57f46 PaxosPrepare may add instances to the Electorate that are not in gossip
patch by David Capwell; reviewed by Blake Eggleston for CASSANDRA-18194
2023-01-27 12:31:02 -08:00
Caleb Rackliffe 4892331eb4 Coordinator level metrics for read response and mutation row and column counts
patch by Caleb Rackliffe; reviewed by Berenguer Blasi for CASSANDRA-18155
2023-01-27 12:00:33 -06:00