Commit Graph

29710 Commits

Author SHA1 Message Date
Branimir Lambov 28efb63df5 Merge branch 'cassandra-5.0' into trunk 2024-03-07 13:19:16 +02:00
Branimir Lambov 06ed1afc34 Add an optimized default configuration to tests and make it available for new users
This patch adds a new configuration file, cassandra_latest.yaml, which changes
some of the settings to use new features we usually recommend to users,
including:
- Big Trie-Indexed SSTables
- Trie memtables
- Unified Compaction Strategy
- Storage Attached Index
- Off-heap objects memtables
- Direct-write commit log
- No storage compatibility

These changes are applied in new test targets for unit, in-jvm and python dtests that are
run pre-commit. When changes are made to the new config file, python dtest will use it
directly, but unit and in-jvm dtests require updates, respectively, to latest_diff.yaml
and InstanceConfig.java.

patch by Branimir Lambov; reviewed by Berenguer Blasi for CASSANDRA-18753
2024-03-07 11:08:44 +02:00
arkn98 bfb5c59342 Fix datetime_from_utc_to_local in cqlshlib
Patch by Arun Ganesh; reviewed by brads and brandonwilliams for
CASSANDRA-18879
2024-03-06 09:44:08 -06:00
Bereng 6e72cf0ee5 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Test Failure: org.apache.cassandra.distributed.test.UpgradeSSTablesTest.truncateWhileUpgrading
2024-03-06 09:34:10 +01:00
Bereng ebe07db602 Test Failure: org.apache.cassandra.distributed.test.UpgradeSSTablesTest.truncateWhileUpgrading
patch by Berenguer Blasi; reviewed by Brandon Williams for CASSANDRA-19398
2024-03-06 09:27:15 +01:00
Brandon Williams 8b429c8ef9 Merge branch 'cassandra-5.0' into trunk 2024-03-04 14:18:28 -06:00
Brandon Williams 194a41baea Add export for remote JMX security for j17
Patch by brandonwilliams; reviewed by smiklosovic for CASSANDRA-19453
2024-03-04 14:16:59 -06:00
Caleb Rackliffe 001f70367e Harry model and in-JVM tests for partition-restricted 2i queries
patch by Caleb Rackliffe; reviewed by Alex Petrov for CASSANDRA-18275

Co-authored-by: Caleb Rackliffe <calebrackliffe@gmail.com>
Co-authored-by: Alex Petrov <oleksandr.petrov@gmail.com>
2024-03-01 16:17:48 -06:00
Brad Schoening 85eb68a9b2 Update version in readme 2024-03-01 08:36:40 -05:00
Brad Schoening 94bfbaf348 bumped CQLSH version 6.2 > 6.3 2024-03-01 08:36:40 -05:00
Caleb Rackliffe 58f0e2146b Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Avoid possible consistency violations for SAI intersection queries over partially updated rows at consistency levels that require reconciliation
2024-02-29 15:05:55 -06:00
Caleb Rackliffe f7984627e7 Avoid possible consistency violations for SAI intersection queries over partially updated rows at consistency levels that require reconciliation
- Replica filtring protection now correctly accounts for short reads caused by coordinator filtering of merged rows.
- There is a new flag in ReadCommand that indicates whether the user query it belongs to requires reconciliation.
- Local SAI queries now degrade intersections to unions on unrepaired data if reconciliation is required and multiple mutable columns are restricted.

patch by Caleb Rackliffe; reviewed by Andres de la Peña and Alex Petrov for CASSANDRA-19018

Co-authored-by: Caleb Rackliffe <calebrackliffe@gmail.com>
Co-authored-by: Alex Petrov <oleksandr.petrov@gmail.com>
2024-02-29 15:03:00 -06:00
Ekaterina Dimitrova cd347bdc58 Merge branch 'cassandra-5.0' into trunk 2024-02-29 09:29:53 -05:00
Ekaterina Dimitrova 54cf65476a Fix NullPointerException in ANN+WHERE when adding rows in another partition
patch by Ekaterina Dimitrova; reviewed by Andres de la Pena for CASSANDRA-19404
2024-02-29 09:17:59 -05:00
Stefan Miklosovic bf124a30da
Merge branch 'cassandra-5.0' into trunk 2024-02-29 12:03:33 +01:00
Stefan Miklosovic 106be29feb
Merge branch 'cassandra-4.1' into cassandra-5.0 2024-02-29 12:00:37 +01:00
Stefan Miklosovic e120088d44
Merge branch 'cassandra-4.0' into cassandra-4.1 2024-02-29 11:40:57 +01:00
Stefan Miklosovic a124cfce85
Merge branch 'cassandra-3.11' into cassandra-4.0 2024-02-29 11:38:39 +01:00
Abe Ratnofsky 099fdf2673
Move ClientWarn.State#warnings to a thread-safe list
patch by Abe Ratnofsky; reviewed by Caleb Rackliffe, Stefan Miklosovic for CASSANDRA-19427
2024-02-29 11:33:03 +01:00
Bereng c26be50107 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Skinny dev circle workflow
2024-02-28 08:01:36 +01:00
Bereng ab25cae4c5 Skinny dev circle workflow
patch by Berenguer Blasi; reviewed by Ekaterina Dimitrova, Stefan Miklosovic for CASSANDRA-19414
2024-02-28 07:59:35 +01:00
Caleb Rackliffe ce963bc991 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Record latencies for SAI post-filtering reads against local storage
2024-02-26 15:33:12 -06:00
Caleb Rackliffe 1d7bae3697 Record latencies for SAI post-filtering reads against local storage
patch by Caleb Rackliffe; reviewed by Mike Adamson for CASSANDRA-18940
2024-02-26 15:22:44 -06:00
Bereng 81e253b166 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Bug in generate.sh removal of jobs
2024-02-26 07:50:12 +01:00
Bereng 939fbfa63f Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Bug in generate.sh removal of jobs
2024-02-26 07:48:45 +01:00
Bereng 612c9638dc Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Bug in generate.sh removal of jobs
2024-02-26 07:45:58 +01:00
Bereng dee7947422 Bug in generate.sh removal of jobs 2024-02-26 07:43:40 +01:00
Ekaterina Dimitrova ec9a553f7d Merge branch 'cassandra-5.0' into trunk 2024-02-23 14:11:37 -05:00
Ekaterina Dimitrova 53cd2d8286 Fix VectorMemoryIndex#update logic to compare vectors
Fix Index view

patch by Ekaterina Dimitrova; reviewed by Andres de la Pena for CASSANDRA-19168
2024-02-23 13:57:24 -05:00
Stefan Miklosovic cf71b602e6
Merge branch 'cassandra-5.0' into trunk 2024-02-23 14:53:56 +01:00
Stefan Miklosovic 2482c8a936
Merge branch 'cassandra-4.1' into cassandra-5.0 2024-02-23 14:52:32 +01:00
Stefan Miklosovic 95fcefede2
Merge branch 'cassandra-4.0' into cassandra-4.1 2024-02-23 14:51:06 +01:00
Stefan Miklosovic 5430e69e77
Merge branch 'cassandra-3.11' into cassandra-4.0 2024-02-23 14:49:06 +01:00
Stefan Miklosovic af5733124d
Merge branch 'cassandra-3.0' into cassandra-3.11 2024-02-23 14:48:02 +01:00
Jack Green 98eea87aa5
Fix SCM URL links
patch by Jack Green; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-19422
2024-02-23 14:43:41 +01:00
Stefan Miklosovic 2c0371a311
Merge branch 'cassandra-5.0' into trunk 2024-02-23 00:06:19 +01:00
Stefan Miklosovic bfc6e1241d
Merge branch 'cassandra-4.1' into cassandra-5.0 2024-02-23 00:03:53 +01:00
Stefan Miklosovic b6b291e3bb
Merge branch 'cassandra-4.0' into cassandra-4.1 2024-02-22 23:56:48 +01:00
Runtian Liu c2041ba45b
Filter remote DC replicas out when constructing the initial replica plan for the local read repair
patch by Runtian Liu; reviewed by Blake Eggleston and Stefan Miklosovic for CASSANDRA-19120
2024-02-22 23:21:16 +01:00
Stefan Miklosovic 77a3e0e818
Merge branch 'cassandra-5.0' into trunk 2024-02-22 10:04:42 +01:00
Stefan Miklosovic 5aefc95fbe
Merge branch 'cassandra-4.1' into cassandra-5.0 2024-02-22 10:01:13 +01:00
Stefan Miklosovic 5f63b0ade1
Merge branch 'cassandra-4.0' into cassandra-4.1 2024-02-22 09:58:10 +01:00
maoling 8c4a58f035
Remove redundant code in StorageProxy#sendToHintedReplicas
patch by Ling Mao; reviewed by Stefan Miklosovic, Brandon Williams and Maxwell Guo for CASSANDRA-19412
2024-02-22 09:54:08 +01:00
Stefan Miklosovic 9cc688e978
Merge branch 'cassandra-5.0' into trunk 2024-02-21 09:16:02 +01:00
Stefan Miklosovic 5ae1294cb1
Merge branch 'cassandra-4.1' into cassandra-5.0 2024-02-21 09:15:00 +01:00
Stefan Miklosovic 6250ba7929
Merge branch 'cassandra-4.0' into cassandra-4.1 2024-02-21 09:08:53 +01:00
Stefan Miklosovic 98d0e181d5
Remove bashisms for mx4j tool in cassandra-env.sh
/bin/sh (our shebang in bin/cassandra) does not recognize the
`if` construct which is available in /bin/bash only hence if
MX4J_ADDRESS or MX4J_PORT was not commented out, the script would
fail to execute it.

patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-19416
2024-02-21 08:37:23 +01:00
Brad Schoening 1163dd9a08
Refactor cqlshmain global constants
patch by Brad Schoening; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-19201
2024-02-20 13:24:29 +01:00
Stefan Miklosovic 087a4474d8
Remove native_transport_port_ssl
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-19397
2024-02-19 09:24:56 +01:00
Stefan Miklosovic 3c76ae2a45
Merge branch 'cassandra-5.0' into trunk 2024-02-16 13:36:38 +01:00