Commit Graph

28390 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
Mick Semb Wever d7352209b2
ninja-fix: compile and use JdkProperties
patch by Mick Semb Wever; reviewed by Ekaterina Dimitrova for CASSANDRA-18179
2023-02-17 08:01:07 +01:00
Jon Meredith 2ea47b1b74 Merge branch 'cassandra-4.1' into trunk 2023-02-16 15:18:37 -07:00
Jon Meredith b728a0011b Merge branch 'cassandra-4.0' into cassandra-4.1 2023-02-16 15:08:16 -07:00
Jon Meredith 3a4fff38b5 Ninja fix CASSANDRA-18242 - was not generating IDEA workspace for J11 correctly 2023-02-16 15:05:37 -07: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
Derek Chen-Becker 5e409f0bd1 Remove invalid handshake test assertion
Patch by Derek Chen-Becker; reviewed by brandonwilliams and smiklosovic
for CASSANDRA-17979
2023-02-14 16:05:24 -06:00
Jon Meredith e107b85571 Merge branch 'cassandra-4.1' into trunk 2023-02-13 17:51:09 -07:00
Jon Meredith 5c4c7b69aa Merge branch 'cassandra-4.0' into cassandra-4.1 2023-02-13 17:46:28 -07:00
Jon Meredith 4e0aad3319 Split and order IDEA workspace template VM_PARAMETERS
patch by Jon Meredith; reviewed by David Capwell for CASSANDRA-18242
2023-02-13 17:43:21 -07: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
Ekaterina Dimitrova ff6ad4e48a Merge branch 'cassandra-4.1' into trunk 2023-02-11 15:34:05 -05:00
Brandon Williams a8465376f7 ninja: Add jna cleaner thread to BulkLoaderTest for CASSANDRA-18050 2023-02-11 14:02:50 -06:00
Ekaterina Dimitrova f345ee8a4e Merge branch 'cassandra-4.0' into cassandra-4.1 2023-02-11 14:47:00 -05:00
Ekaterina Dimitrova cb4f90542d Merge branch 'cassandra-3.11' into cassandra-4.0 2023-02-11 14:36:37 -05:00
Ekaterina Dimitrova 788b4eca2d Merge branch 'cassandra-3.0' into cassandra-3.11 2023-02-11 14:34:17 -05:00
Ekaterina Dimitrova 476d31bce2 Add Dtest-large and cqlshlib tests to CircleCI; Fix num tokens in CircleCI tests to match the default value; Fix CircleCI Python tests split bug; Fix CircleCI long unit tests
patch by Ekaterina Dimitrova; reviewed by Andres de la Pena for CASSANDRA-18001
2023-02-11 14:30:24 -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 5f8270eb86
Merge branch 'cassandra-4.1' into trunk 2023-02-07 23:16:32 +01:00
Stefan Miklosovic 3e0d38dab2
Merge branch 'cassandra-4.0' into cassandra-4.1 2023-02-07 23:11:47 +01:00
Stefan Miklosovic 32c56df067
Prepare debian changelog for 4.0.8 2023-02-07 22:35:13 +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
Doug Rohrer 1e685219da Add unit tests for per-row TTL and Timestamp usage in CQLSSTableWriter
Patch by Doug Rohrer; reviewed by brandonwilliams and dcapwell for
CASSANDRA-18187

CQLSSTableWriter supports per-row setting of both timestamp and TTL values, but it’s not tested or documented today.
Add tests to cover setting both TTL and Timestamp values for rows using the CQLSSTableWriter.
2023-02-02 08:50:44 -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 bcaa1dca0b Fix typo in cassandra.yaml CASSANDRA-18209 2023-01-31 06:32:24 -06:00
Ekaterina Dimitrova 6c90950489 Fix tests post JDK-8210522 (rewrite reflection of "modifiers" field)
patch by Ekaterina Dimitrova; reviewed by Michael Semb Wever for CASSANDRA-18181
2023-01-30 17:07:42 -05:00