Commit Graph

6779 Commits

Author SHA1 Message Date
Stefan Miklosovic 6a3bcc83d2
Merge branch 'cassandra-5.0' into trunk 2023-11-14 21:45:34 +01:00
Ethan Brown fb806d51e3
Add UCS sstable_growth and min_sstable_size options
patch by Ethan Brown; reviewed by Branimir Lambov, Stefan Miklosovic for CASSANDRA-18945
2023-11-14 21:41:07 +01:00
Jacek Lewandowski dc62e1dba1 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  CASSANDRA-18785: Add support for Sonar analysis
2023-11-13 14:48:30 +01:00
Jacek Lewandowski 4d61359c21 CASSANDRA-18785: Add support for Sonar analysis
Patch by Jacek Lewandowski; reviewed by Brandon Williams, Maxim Muzafarov, Michael Semb Wever, Stefan Miklosovic for CASSANDRA-18785
2023-11-13 14:48:28 +01:00
Bereng 0a09c12975 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Default to nb instead of nc for sstable formats
2023-11-13 09:29:03 +01:00
Bereng 0e4c2f4bef Default to nb instead of nc for sstable formats
patch by Berenguer Blasi; reviewed by Francisco Guerrero, Jacek Lewandowski, Michael Semb Wever for CASSANDRA-19010
2023-11-13 09:26:11 +01:00
Jacek Lewandowski 753f81d53a Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Fix incorrect seeking through the sstable iterator by IndexState
2023-11-09 16:12:10 +01:00
Jacek Lewandowski 7a2bfdc56d Fix incorrect seeking through the sstable iterator by IndexState
Patch by Jacek Lewandowski; reviewed by Alex Petrov and Maxim Muzafarov for CASSANDRA-18932
2023-11-09 16:08:59 +01:00
Stefan Miklosovic 7b891db36d
Merge branch 'cassandra-5.0' into trunk 2023-11-08 14:34:04 +01:00
Stefan Miklosovic 5b3c36b28a
Merge branch 'cassandra-4.1' into cassandra-5.0 2023-11-08 14:29:48 +01:00
Stefan Miklosovic 48eaf0a718
Merge branch 'cassandra-4.0' into cassandra-4.1 2023-11-08 14:21:06 +01:00
Stefan Miklosovic ac8a8687a3
Merge branch 'cassandra-3.11' into cassandra-4.0 2023-11-08 14:17:42 +01:00
Stefan Miklosovic 997ad8e03b
Merge branch 'cassandra-3.0' into cassandra-3.11 2023-11-08 14:14:58 +01:00
Stefan Miklosovic 359700dde2
Create / update tests to ensure commit logs and hints for all versions in MessagingService are ingestible by 5.0
Patches for 3.0, 3.11, 4.0 and 4.1 are just adding HintsMaker class to generate hint files.
Patches for 5.0 and trunk are adding tests for commit log upgrading and hints which were generated by HintsMaker.

Patches for 5.0 and trunk are also adding version 1 in HintsDescriptor back as it was removed in CASSANDRA-18314 by mistake.

patch by Stefan Miklosovic; reviewed by Michael Semb Wever for CASSANDRA-19002
2023-11-08 14:07:26 +01:00
Jacek Lewandowski 37d2ef11d6 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Fix KeyCacheTest for cases when early open is disabled
2023-11-08 09:28:23 +01:00
Jacek Lewandowski 9dbd63a5b9 Fix KeyCacheTest for cases when early open is disabled
Patch by Jacek Lewandowski; reviewed by Berenguer Blasi, Branimir Lambov, Caleb Rackliffe for CASSANDRA-18911
2023-11-08 09:28:23 +01:00
David Capwell bb686fc27d Merge branch 'cassandra-5.0' into trunk 2023-11-01 15:13:33 -07:00
David Capwell dca76145c2 Add retries to IR messages
patch by David Capwell; reviewed by Blake Eggleston for CASSANDRA-18962
2023-11-01 15:12:49 -07:00
Jacek Lewandowski b9240d0004 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Retrieve keyspaces metadata and schema version concistently in DescribeStatement
2023-10-31 11:15:46 +01:00
Jacek Lewandowski f2c46cbf3b Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Retrieve keyspaces metadata and schema version concistently in DescribeStatement
2023-10-31 11:15:45 +01:00
Jacek Lewandowski 9ad5ec9664 Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Retrieve keyspaces metadata and schema version concistently in DescribeStatement
2023-10-31 11:15:44 +01:00
Jacek Lewandowski 86e07595f7 Retrieve keyspaces metadata and schema version concistently in DescribeStatement
The fix makes the DescribeStatement to wait for the in-progress schema transformations to finish before returning the first page. This way, the metadata and schema version encoded in the result set metadata are guaranteed to be consistent.

Patch by Jacek Lewandowski; reviewed by Benjamin Lerer, Ekaterina Dimitrova for CASSANDRA-18921
2023-10-31 11:15:43 +01:00
David Capwell 2d982a0e52 Merge branch 'cassandra-5.0' into trunk 2023-10-30 14:48:09 -07:00
David Capwell 69f5df0b00 Add metrics and logging to repair retries
patch by David Capwell; reviewed by Caleb Rackliffe, Maxim Muzafarov for CASSANDRA-18952
2023-10-30 14:47:26 -07:00
Stefan Miklosovic b363568c0f
Merge branch 'cassandra-5.0' into trunk 2023-10-30 22:10:29 +01:00
Stefan Miklosovic 4ecff92404
Remove deprecated code in Cassandra 1.x and 2.x
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-18959
2023-10-30 21:54:55 +01:00
Caleb Rackliffe 4cabe486e1 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  ClientRequestSize metrics should not treat CONTAINS restrictions as being equality-based
2023-10-30 14:32:01 -05:00
Caleb Rackliffe 256e39fc62 ClientRequestSize metrics should not treat CONTAINS restrictions as being equality-based
patch by Caleb Rackliffe; reviewed by Benjamin Lerer for CASSANDRA-18896
2023-10-30 14:18:52 -05:00
Andrés de la Peña d6159cfe15 Merge branch 'cassandra-5.0' into trunk 2023-10-30 19:04:54 +00:00
Mike Adamson c4d11c4372 Fix VectorUpdateDeleteTest for JDK 17
Removed use of reflection and directly set
  relevant property to avoid jdk 17 errors

patch by Mike Adamson; reviewed by Stefan Miklosovic, Michael Semb Wever and Andrés de la Peña for CASSANDRA-18715
2023-10-30 18:57:54 +00:00
Mick Semb Wever a8d0584936
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Add support for a vector search index in SAI
2023-10-29 12:24:46 +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 f8c240147c
Merge branch 'cassandra-5.0' into trunk 2023-10-26 22:39:44 +02:00
Stefan Miklosovic b59b832eba
Remove crc_check_chance from CompressionParams
patch by Stefan Miklosovic; reviewed by Maxwell Guo, Jacek Lewandowski, Branimir Lambov for CASSANDRA-18872
2023-10-26 22:38:21 +02:00
Aleksey Yeschenko f5fba9b702 Merge branch 'cassandra-5.0' into trunk 2023-10-26 17:46:05 +01:00
Aleksey Yeschenko 7d54a62ccc Fix schema loading of UDTs inside vectors inside UDTs
patch by Aleksey Yeschenko; reviewed by Marcus Eriksson for
CASSANDRA-18964
2023-10-26 17:44:10 +01:00
Stefan Miklosovic 3d022d3c5f
Merge branch 'cassandra-5.0' into trunk 2023-10-25 08:41:13 +02:00
maxwellguo 0c7410a9da
Fix nodetool tablehistograms output to avoid printing repeated information and ensure at most two arguments
patch by Maxwell Guo; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-18955
2023-10-25 08:38:13 +02:00
Caleb Rackliffe bf321d7951 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Change the checksum algorithm SAI-related files use from CRC32 to CRC32C
2023-10-20 14:51:35 -05:00
Maxim Muzafarov 07df26778b Change the checksum algorithm SAI-related files use from CRC32 to CRC32C
patch by Maxim Muzafarov; reviewed by Caleb Rackliffe and Zhao Yang for CASSANDRA-18836
2023-10-20 14:46:49 -05:00
Jacek Lewandowski c2c20ab843 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Fixed the inconsistency between distributedKeyspaces and distributedAndLocalKeyspaces
2023-10-19 12:56:11 +02:00
Jacek Lewandowski 57f494d8d4 Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Fixed the inconsistency between distributedKeyspaces and distributedAndLocalKeyspaces
2023-10-19 12:56:10 +02:00
Jacek Lewandowski ac71d0f56e Fixed the inconsistency between distributedKeyspaces and distributedAndLocalKeyspaces
Patch by Jacek Lewandowski; reviewed by Benjamin Lerer, Berenguer Blasi, Ekaterina Dimitrova, Jeremiah Jordan for CASSANDRA-18747
2023-10-19 12:56:09 +02:00
Caleb Rackliffe 7d3a8d5312 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Correctly remove Index.Group from IndexRegistry
2023-10-18 13:57:42 -05:00
Mike Adamson e45c1092f9 Correctly remove Index.Group from IndexRegistry
The Index.Group was being left in the list indexGroups in the SecondaryIndexManager because the incorrect
key was being used to remove it from the map

patch by Mike Adamson; reviewed by Caleb Rackliffe and Zhao Yang for CASSANDRA-18905

Co-authored-by: Zhao Yang <zhaoyangsingapore@gmail.com>
2023-10-18 13:43:41 -05:00
Stefan Miklosovic 6c18a6c4f4
Merge branch 'cassandra-5.0' into trunk 2023-10-18 20:04:30 +02:00
Stefan Miklosovic 269285213d
Add versions into Deprecated annotation
patch by Stefan Miklosovic; reviewed by Maxim Muzafarov, Brandon Williams for CASSANDRA-18912

Co-authored-by: Maxim Muzafarov <maxmuzaf@gmail.com>
2023-10-18 19:54:10 +02:00
Mick Semb Wever 302b272b14
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Fixes for in-tree scripts: offline mode, maybe-build for fqltool-test, jvm-dtest-upgrade
2023-10-16 16:02:29 +02:00
Mick Semb Wever 987d03c142
Fixes for in-tree scripts: offline mode, maybe-build for fqltool-test, jvm-dtest-upgrade
- jvm-dtest-upgrade script running in ci-cassandra.a.o (needs default bash)
 - add offline mode (to avoid `git fetch` before building dtest-jars on other branches),
 - avoid rebuilding in fqltool-test target, as is standard for test targets.
 - python detection and override
 - FileTest cleanup (tmp directory was left unreadable and undeletable)
 - reuse ~/.ccm (like normal)
 - remove support for python 3.6
 - remove docker volumes in image (they are added at run time)
 - remove superfluousjava version debug
 – extra mount for build/tmp as hack to prevent buggy hardlinks on overlay

 patch by Mick Semb Wever; reviewed by Brandon Williams, Ekaterina Dimitrova, Josh McKenzie, Maxim Muzafarov for CASSANDRA-18665
2023-10-16 16:01:28 +02:00
Bereng a9a09c1e6b Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Test failure: org.apache.cassandra.tools.nodetool.ForceCompactionTest.forceCompactMultipleRowsTombstoneTest-.jdk11
2023-10-16 12:25:47 +02:00