Commit Graph

47 Commits

Author SHA1 Message Date
Sam Tunnicliffe ae0842372f Implementation of Transactional Cluster Metadata as described in CEP-21
An overview of the core components can be found in the included
TransactionalClusterMetadata.md

patch by Alex Petrov, Marcus Eriksson and Sam Tunnicliffe; reviewed by
Alex Petrov, Marcus Eriksson and Sam Tunnicliffe for CASSANDRA-18330

Co-authored-by: Marcus Eriksson <marcuse@apache.org>
Co-authored-by: Alex Petrov <oleksandr.petrov@gmail.com>
Co-authored-by: Sam Tunnicliffe <samt@apache.org>
2023-11-24 10:26:08 +00:00
Maxim Muzafarov 072a13e5ef
Exclude net.java.dev.jna:jna dependency from dependencies of org.caffinitas.ohc:ohc-core
patch by Maxim Muzafarov; reviewed by Ariel Weisberg, Ekaterina Dimitrova, Stefan Miklosovic for CASSANDRA-18992
2023-11-15 10:04:56 +01:00
Mike Adamson 949b760f55
Add support for a vector search index in SAI
- Adds jbellis/jvector (1.0.2) library for DiskANN based indexes on floating point vectors
- Adds ORDER BY ANN OF capability to do ANN search and order the results by score

 patch by Mike Adamson; reviewed by Andrés de la Peña, Jonathon Ellis for CASSANDRA-18715

Co-authored-by Jonathon Ellis jbellis@gmail.com
Co-authored-by Zhao Yang zhaoyangsingapore@gmail.com
2023-10-29 12:24:00 +01:00
Stefan Miklosovic 5a02e532d4
Merge branch 'cassandra-4.1' into cassandra-5.0 2023-10-10 10:16:22 +02:00
Maxim Muzafarov 4549b07997
Remove unnecessary reporter-config3 dependency
patch by Maxim Muzafarov; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-18907
2023-10-09 21:40:18 +02:00
Stefan Miklosovic e8c595102a
Exclude unnecessary dependencies introduced by caffeine update to 3.1.8
patch by Stefan Miklosovic; reviewed by Ekaterina Dimitrova, Maxim Muzafarov for CASSANDRA-18906
2023-10-06 11:50:13 +02:00
Maxim Muzafarov f51d9ecbe3
Upgrade Dropwizard Metrics to 4.2.19
patch by Maxim Muzafarov; reviewed by Ekaterina Dimitrova and Stefan Miklosovic for CASSANDRA-14667
2023-10-04 13:41:47 +02:00
Ekaterina Dimitrova eb30005251 Upgrade caffeine cache and fix CIDR permissions cache invalidation
patch by Ekaterina Dimitrova; reviewed by Jacek Lewandowski, Ben Manes, Yifan Cai, Shailaja Koppu for CASSANDRA-18805
2023-10-03 16:14:34 -04:00
Ekaterina Dimitrova b07034eeb7 Merge branch 'cassandra-4.1' into cassandra-5.0 2023-10-03 11:12:14 -04:00
Stefan Miklosovic 449343138d
Merge branch 'cassandra-4.1' into cassandra-5.0 2023-09-27 21:01:44 +02:00
Maxim Muzafarov a580b79d16 Upgrade slf4j-api to 1.7.36
Patch by mmuzaf; reviewed by brandonwilliams and edimitrova for
CASSANDRA-18882
2023-09-27 13:30:08 -05:00
Ekaterina Dimitrova 9be8369ae6 Remove commons-codec dependency
patch by Ekaterina Dimitrova; reviewed by Brandon Williams (CASSANDRA-18772)
2023-09-05 13:53:31 -04:00
Ekaterina Dimitrova 046c8447ec Update commons-lang3 to 3.13.0
patch by Ekaterina Dimitrova; reviewed by Berenguer Blasi for CASSANDRA-18789
2023-08-28 09:43:50 -04:00
Jon Meredith d2f8e8e105 Merge branch 'cassandra-4.1' into cassandra-5.0 2023-08-24 16:44:48 -06:00
Mike Adamson 655a2455ac Reduce size of per-SSTable index components for SAI
This patch removes the PRIMARY_KEY_TRIE component and adds KeyLookup.Cursor#clusteredSeekToKey() to
search for clustering keys within a partition. To do this a new on-disk component
PARTITION_SIZES has been added that holds the size of each partition in the SSTable.

patch by Mike Adamson; reviewed by Caleb Rackliffe and Andres de la Peña for CASSANDRA-18673
2023-08-18 14:36:49 -05:00
Stefan Miklosovic aa84b19112
Remove unnecessary Netty dependencies after upgrade to version 4.1.96
This patch also resolves CASSANDRA-18723 by bumping bcpkix-jdk15on of 1.70
to bcpkix-jdk18on of 1.76.

patch by Stefan Miklosovic; reviewed by Jacek Lewandowski CASSANDRA-18729
2023-08-17 11:24:37 +02:00
Ekaterina Dimitrova 0c22f9b42c Upgrade JMH from 1.21 to 1.36. The upgrade is fixing inaccessible object exceptions when running benchmarks with JMH+profiler+JDK17
patch by Ekaterina Dimitrova; reviewed by Andres de la Pena and Berenguer Blasi for CASSANDRA-18696
2023-08-09 09:50:53 -04:00
Jacek Lewandowski 53d1644ff4 Upgraded to Netty 4.1.96
- Add Bouncycastle dependency
- Upgrade tcnative boringssl
- Add TLSv1.3 to encryption options tests
- Revert defaults after changes in Netty 4.1.75
- Remove Guava 18 from deps - we accidentally ended with Guava 30+ and 18 on the classpath because JimFS includes it as a transient dependency.

Patch by Jacek Lewandowski and Brandon Williams; reviewed by Ekaterina Dimitrova and Berenguer Blasi for CASSANDRA-17992

Co-authored-by: Jacek Lewandowski <lewandowski.jacek@gmail.com>
Co-authored-by: Brandon Williams <driftx@gmail.com>
2023-08-04 00:12:59 +02:00
Stefan Miklosovic e4414cc268
Upgrade AssertJ to version 3.24.2
patch by Shylaja Kokoori; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-17951
2023-07-31 15:57:22 +02:00
Stefan Miklosovic c6f0521406
ninja fix: do not resolve Corretto library to build/test/lib/jars 2023-07-31 08:34:45 +02:00
Stefan Miklosovic c2d42500a8
Merge branch 'cassandra-4.1' into trunk 2023-07-28 17:16:05 +02:00
ayushis 6ab45971fc
Introduce pluggable crypto providers and default to Amazon Corretto Crypto Provider
patch by Ayushi Singh; reviewed by Stefan Miklosovic, Michael Semb Wever and Maxim Muzafarov for CASSANDRA-18624

Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
2023-07-28 12:15:33 +02:00
Mike Adamson eb208d3561 Add basic text analysis to SAI, including "case_sensitive", "normalize", and "ascii" modes
patch by Mike Adamson; reviewed by Caleb Rackliffe and Andres de la Peña for CASSANDRA-18479
2023-07-26 13:35:07 -05:00
Jonathan Ellis ebea2ba6ad Upgrade to lucene-core 9.7.0
Notes on the upgrade path:
- RamIndexOutput is replaced with ResettableByteBuffersIndexOutput, an extension of ByteBuffersIndexOutput, which was the closest thing to a replacement of RamIndexOutput.
- Lucene exposes the code we needed from DirectReaders more or less directly in DirectReader now, so the old copied code has been deleted.
- Lucene changed its data files to be little endian, but to keep its compatibility story simple it retained BE for the header and footer ints. That's the cause of the changes in SAICodecUtils.
- We could gain a bit of performance making our own code natively little endian but that is too big of a change for this patch.

patch by Jonathan Ellis; reviewed by Andrés de la Peña, Caleb Rackliffe, and Mike Adamson for CASSANDRA-18494
2023-07-26 13:35:07 -05:00
Mike Adamson cde91e56f0 In-memory index implementation with query path
This includes the following elements of the Storage Attached Index:
- Memtable-attached indexes backed by an in-memory trie structure for byte-comparable values
- Query path for the in-memory index
- Index status propagation
- Randomized testing for Memtable-attached indexes

patch my Mike Adamson; reviewed by Caleb Rackliffe and Andres de la Peña for CASSANDRA-18058

Co-authored-by: Mike Adamson <madamson@datastax.com>
Co-authored-by: Caleb Rackliffe <calebrackliffe@gmail.com>
2023-07-26 13:35:07 -05:00
Ekaterina Dimitrova b61bd93e57 Upgrade ecj version to 3.33.0
Bump source and target version to 11 for Java UDFs
ICompilationUnit has new default methods

patch by Ekaterina Dimitrova; reviewed by Andres de la Pena and Berenguer Blasi for CASSANRA-18190
2023-07-24 21:49:43 -04:00
Ekaterina Dimitrova 3755934e52 Drop JDK8 and add JDK17, remove eclipse-warnings in favor of Checker Framework and upgrade checkstyle
patch by Ekaterina Dimitrova; reviewed by Jeremiah Jordan, Berenguer Blasi, Michael Semb Wever and Jacek Lewandowski for CASSANDRA-18255
2023-07-24 15:16:53 -04:00
timothytu12 00e5431d64 Upgrade commons cli to 1.5.0
Patch by Timothy Tu; reviewed by bereng and brandonwilliams for
CASSANDRA-18659
2023-07-18 06:07:29 -05:00
Ekaterina Dimitrova 992ad25b96 Update Guava to 32.0.1-jre
patch by Ekaterina Dimitrova; reviewed by Berenguer Blasi for CASSANDRA-18645
2023-07-07 10:08:22 -04:00
Stefan Miklosovic ea5291c2ca
Merge branch 'cassandra-4.1' into trunk 2023-06-28 16:43:43 +02:00
Brandon Williams 81026b95c4 Merge branch 'cassandra-4.1' into trunk 2023-06-26 06:11:02 -05:00
Jon Meredith 4bcadc6bfb Merge branch 'cassandra-4.1' into trunk 2023-05-31 12:36:07 -06:00
Tatu Saloranta 73da05f83b
Replace usages of json-simple dependency by Jackson
patch by Tatu Saloranta; reviewed by Brandon Williams for CASSANDRA-16855

Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
2023-05-02 21:19:58 +02:00
Brandon Williams 0ac60af949 Upgrade commons-io to 2.11.0
Patch by brandonwilliams; reviwed by adelapena for CASSANDRA-17364
2023-04-12 11:28:08 -05:00
Stefan Miklosovic 6a1a4d8459
Merge branch 'cassandra-4.1' into trunk 2023-04-06 23:41:02 +02:00
Mick Semb Wever 58f5301e78
ninja-fix stick affinity, and exclude it everywhere where it would pull in the imported boms
patch by Mick Semb Wever; tested by David Capwell for CASSANDRA-18049
2023-04-04 18:10:53 +02:00
Maxim Muzafarov e98258a132 Upgrade checkstyle to 10.8.1 for j11 and 8.45.1 for j8
Patch by Maxim Muzafarov; reviewed by brandonwilliams and smiklosovic
for CASSANDRA-18262
2023-03-30 05:19:58 -05:00
Mick Semb Wever eee211fdbb
Update OpenHFT dependencies (chronicle-queue, chronicle-core, chronicle-bytes, chronicle-wire, chronicle-threads)
Some transitive dependencies to these have also been added to raise their versions. asm-* transitive dependencies have been excluded.

 patch by Mick Semb Wever; reviewed by Ekaterina Dimitrova for CASSANDRA-18049
2023-03-22 09:03:33 +01:00
Stefan Miklosovic 592cbeaab0
Remove org.apache.cassandra.hadoop code
patch by Stefan Miklosovic; reviewed by David Capwell and Brandon Williams for CASSANDRA-18323
2023-03-21 20:47:19 +01:00
Stefan Miklosovic 6ed6b520fd
Merge branch 'cassandra-4.1' into trunk 2023-02-15 13:43:36 +01: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
ben b07c3127cc SimpleSeedProvider can resolve multiple IP addresses per DNS record
patch by Ben Bromhead; reviewed by Stefan Miklosovic and Andrés de la Peña for CASSANDRA-14361

Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
2023-01-18 10:43:45 +01:00
XV4DE 88dc64d208 Add Mathematical Functions
Patch by Simon Chess; review by Benjamin Lerer Ekaterina Dimitrova for CASSANDRA-17221

This patch add the abs, exp, log, log10, and round functions for the numeric types.
2022-11-22 18:25:02 +01:00
Ekaterina Dimitrova 2f9ab68453 Update Byteman to 4.0.20 and Jacoco to 0.8.8
patch by Ekaterina Dimitrova; reviewed by Jacek Lewandowski and Michael Semb Wever for CASSANDRA-16413
2022-10-21 22:01:19 -04:00
Branimir Lambov 30641ea7b6 Provides the Trie interface with MemtableTrie implementation
also includes functionality to merge, intersect and iterate on tries.

patch by Branimir Lambov; reviewed by Jason Rutherglen, Jacek Lewandowski, Andres de la Peña and Calib Rackliffe for CASSANDRA-17240
2022-10-21 12:54:03 +03:00
Ekaterina Dimitrova 719d1948df Revert Mockito downgrade from CASSANDRA-17750
patch by Ekaterina Dimitrova; reviewed by Michael Semb Wever and Abe Ratnofsky for CASSANDRA-17946
2022-10-03 19:31:05 -04:00
Abe Ratnofsky 1e27ffc6ad Remove dependency on Maven Ant Tasks
patch by Abe Ratnofsky; reviewed by David Capwell, Michael Semb Wever for CASSANDRA-17750
2022-08-24 22:40:26 -07:00