Commit Graph

29363 Commits

Author SHA1 Message Date
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 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 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
Mick Semb Wever 009d1ca9ee
Increment version to 5.0-beta1
ref: https://lists.apache.org/thread/ndycyjg4zh7zt31gm7w823v0gj506m63
2023-11-06 19:43:46 +01:00
Mick Semb Wever acf6281dd6
Increment version to 5.0-alpha3 2023-11-04 16:58:05 +01:00
Stefan Miklosovic 8c273ced5b
Add documentation about crypto providers
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-18996
2023-11-03 14:01:05 +01:00
Stefan Miklosovic 6cdec7c6b8
Improve documentation for snitches
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-18995
2023-11-03 12:35:29 +01:00
Andrés de la Peña f41ecf586c Upgrade Python driver to 3.28.0
patch by Andrés de la Peña and Jeremiah Jordan; reviewed by Brandon Williams for CASSANDRA-18960

Co-authored-by: Jeremiah Jordan <jeremiah@datastax.com>
Co-authored-by: Andrés de la Peña <a.penya.garcia@gmail.com>
2023-11-02 17:08:38 +00: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
Lorina Poland 7463a7a977
Vector similarity search docs (CEP-30)
Add example files and partials for reference commands that are added to support vector search.

 patch by Lorina Poland; reviewed by Mick Semb Wever for CASSANDRA-18604
2023-10-31 11:38:41 +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 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 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 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
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
Brandon Williams 51ca9c964e Merge branch 'cassandra-4.1' into cassandra-5.0 2023-10-30 08:15:57 -05:00
Brandon Williams d5b6331d6e Merge branch 'cassandra-4.0' into cassandra-4.1 2023-10-30 08:15:41 -05:00
Mike Adamson 9697be1131 Fix dtests returning ordering columns that have not been selected
patch by Mike Adamson; reviewed by adelapena, brandonwilliams and
Jeremiah Jordan for CASSANDRA-18892
2023-10-30 08:14:09 -05:00
Mick Semb Wever ea76d148c3
Prepare debian changelog for 5.0-alpha2 2023-10-29 18:59:55 +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 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 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
Brandon Williams 3088b8114c Merge branch 'cassandra-4.1' into cassandra-5.0 2023-10-26 06:06:43 -05:00
Brandon Williams d3cc2a65b8 Merge branch 'cassandra-4.0' into cassandra-4.1 2023-10-26 06:05:42 -05:00
Brandon Williams 2fa7c1204c Merge branch 'cassandra-3.11' into cassandra-4.0 2023-10-26 05:59:42 -05:00
Brandon Williams 349ec3e02d Merge branch 'cassandra-3.0' into cassandra-3.11 2023-10-26 05:58:22 -05:00
Brandon Williams 0a91114dd5 Merge branch 'cassandra-3.11' into cassandra-4.0 2023-10-26 05:56:47 -05:00
Brandon Williams cec0e1b864 Merge branch 'cassandra-3.0' into cassandra-3.11 2023-10-26 05:55:46 -05:00
Brandon Williams 5bf1d2f8d5 Suppress CVE-2023-44487
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-18943
2023-10-26 05:54:19 -05:00
Andrés de la Peña 5eba52feb8 Add cqlsh autocompletion for the vector data type
patch by Andrés de la Peña; reviewed by Brandon Williams for CASSANDRA-18946
2023-10-25 11:54:01 +01: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
Stefan Miklosovic 9ffb838d03
Merge branch 'cassandra-4.1' into cassandra-5.0 2023-10-24 16:32:37 +02:00
Stefan Miklosovic d6bf4fd98f
Merge branch 'cassandra-4.0' into cassandra-4.1 2023-10-24 16:26:07 +02:00
Stefan Miklosovic d6fcca95b4
Merge branch 'cassandra-3.11' into cassandra-4.0 2023-10-24 16:20:31 +02:00
Stefan Miklosovic 3987160bb2
Merge branch 'cassandra-3.0' into cassandra-3.11 2023-10-24 16:14:49 +02:00
Stefan Miklosovic b51ee83a29
Fix nodetool enable/disablebinary to correctly set rpc readiness in gossip
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-18935
2023-10-24 16:12:37 +02:00
Stefan Miklosovic e2d2bd61f4
ninja-fix nested cassandra clone for dtest jar building re-use check
(git -C … will fall back to parent level .git repo, confusing the check)

patch by Mick Semb Wever; reviewed by Štefan Miklošovič for CASSANDRA-18936,CASSANDRA-18665
2023-10-23 12:28:38 +02: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
Francisco Guerrero 8c89e2adb7 Correct comment for nc SSTable format
Patch by frankgh; reviewd by brandonwilliams and bereng for
CASSANDRA-18933
2023-10-19 12:27:57 -05:00
mck 0aff36fc74
When generating dtest jars and switching between branches, do git clean before git reset
patch by Mick Semb Wever; reviewed by Stefan Miklosovic for CASSANDRA-18936
2023-10-19 15:26:27 +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
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 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