Commit Graph

28390 Commits

Author SHA1 Message Date
Mick Semb Wever 2e1695426b
Merge branch 'cassandra-4.1' into trunk
* cassandra-4.1:
  Prepare debian changelog for 4.1.0
2022-12-13 08:22:47 +01:00
Mick Semb Wever f9e033f519
Prepare debian changelog for 4.1.0 2022-12-07 21:53:57 +01:00
Ariel Weisberg f0ad7eadbe Merge branch 'cassandra-4.1' into trunk 2022-12-07 15:23:00 -05:00
Marianne Lyne Manaog 81c616826a Fix ContentionStrategy backoff and Clock.waitUntil
Also for CASSANDRA-18087

patch by Matt Fleming, Marianne Lyne Manaog, Benedict Elliott Smith; reviewed by Joshua Mckenzie, Ariel Weisberg for CASSANDRA-18086

Co-authored-by: Marianne Lyne Manaog <marianne.manaog@datastax.com>
Co-authored-by: Matt Fleming <matt@codeblueprint.co.uk>
Co-authored-by: Benedict Elliott Smith <benedict@apple.com>
2022-12-07 15:20:48 -05:00
maxwellguo 3f83396b76 Set the major compaction type correctly for compactionstats
Patch by Maxwell Guo; reviewed by brandonwilliams and blambov for CASSANDRA-18055
2022-12-07 05:25:52 -06:00
Stefan Miklosovic ccada788c4 Print exception message without stacktrace when nodetool commands fail on probe.getOwnershipWithPort()
Consequently, there is also alignement of nodetool ring command returning
exit code 1 in case there is unrecoverable exception thrown,
same as was already done for status and describecluster commands.

patch by Stefan Miklosovic; reviewed by Brandon Williams and Yifan Cai for CASSANDRA-18079
2022-12-06 12:27:58 +01:00
Yifan Cai 235d2df0ee Merge branch 'cassandra-4.1' into trunk 2022-12-05 19:00:18 -08:00
Yifan Cai 27fff06bb7 Merge branch 'cassandra-4.0' into cassandra-4.1 2022-12-05 18:57:01 -08:00
Yifan Cai f22263cd8a Merge branch 'cassandra-3.11' into cassandra-4.0 2022-12-05 18:52:22 -08:00
Yifan Cai eb91e2c354 Merge branch 'cassandra-3.0' into cassandra-3.11 2022-12-05 18:50:28 -08:00
Yifan Cai 473656c1d5 Fix incorrect resource name in LIST PERMISSION output
patch by Yifan Cai; reviewed by Berenguer Blasi, Sam Tunnicliffe for CASSANDRA-17848
2022-12-05 18:48:36 -08:00
Brandon Williams 33c60d8daf Merge branch 'cassandra-4.1' into trunk 2022-12-05 10:10:37 -06:00
Brandon Williams 8889b27c9c Merge branch 'cassandra-4.0' into cassandra-4.1 2022-12-05 10:08:09 -06:00
Brandon Williams c2bbee2020 Merge branch 'cassandra-3.11' into cassandra-4.0 2022-12-05 10:06:17 -06:00
Brandon Williams b7762e2aa2 Merge branch 'cassandra-3.0' into cassandra-3.11 2022-12-05 10:05:19 -06:00
Brandon Williams 92019df4d8 Suppress CVE-2022-41854 and similar
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-18083
2022-12-05 10:01:00 -06:00
Jordan West 279f284da5 Add option to print level with getsstables output
Patch by Jordan West; reviewed by Brandon Williams and Cheng Wang for CASSANDRA-18023
2022-12-03 12:52:05 -08:00
Stefan Miklosovic 797b96958a Implement a guardrail for not having zero default_time_to_live on tables with TWCS
patch by Stefan Miklosovic; reviewed by Andrés de la Peña, Josh McKenzie, Brandon Williams and Brad Schoening for CASSANDRA-18042

Co-authored-by: Andrés de la Peña <a.penya.garcia@gmail.com>
2022-12-02 09:45:02 +01:00
Jordan West 13654332fe Merge branch 'cassandra-4.1' into trunk 2022-11-29 18:32:25 -08:00
Jordan West cc4c8a3637 Merge branch 'cassandra-4.0' into cassandra-4.1 2022-11-29 18:29:23 -08:00
Jordan West bba7ab3eca Merge branch 'cassandra-3.11' into cassandra-4.0 2022-11-29 18:27:45 -08:00
Jordan West 5a53c36515 Merge branch 'cassandra-3.0' into cassandra-3.11 2022-11-29 18:26:40 -08:00
Jordan West 13d495aa7d fix intermittent failures in nodetool toppartitions caused by failure to validate invalid bytes
Patch by Jordan West; Reviewed by Brandon Williams and Cheng Wang for CASSANDRA-17254
2022-11-29 18:25:04 -08:00
Andrés de la Peña b7c7972a51 Add CQL scalar functions for collection aggregation
patch by Andrés de la Peña; reviewed by Benjamin Lerer and Berenguer Blasi for CASSANDRA-18060
2022-11-25 14:08:00 +00:00
Stefan Miklosovic 3775c8f11d Make cassandra.replayList property for CommitLogReplayer possible to react on keyspaces only
Property is meant to contain comma-separated entities which are either
names of keyspaces or keyspaces and tables or their mix.

Examples:
- just keyspaces: -Dcassandra.replayList=ks1,ks2,ks3
- specific tables: -Dcassandra.replayList=ks1.tb1,ks2.tb2
- mix of tables and keyspaces: -Dcassandra.replayList=ks1.tb1,ks2

If only keyspaces are specified, mutations for all tables in such keyspace will be replayed.

patch by Stefan Miklosovic; reviewed by Branimir Lambov for CASSANDRA-18044
2022-11-23 19:57:31 +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
Mick Semb Wever 48d4897828
Merge branch 'cassandra-4.1' into trunk
* cassandra-4.1:
  Prepare debian changelog for 4.1.0
2022-11-22 16:48:11 +01:00
Mick Semb Wever b807f97b37
Prepare debian changelog for 4.1.0 2022-11-22 15:58:24 +01:00
Mick Semb Wever 707d6bb527
Merge branch 'cassandra-4.1' into trunk
* cassandra-4.1:
  Increment version to 4.1.0
2022-11-22 15:43:03 +01:00
Mick Semb Wever 676b3e4483
Increment version to 4.1.0 2022-11-22 15:41:18 +01:00
maxwellguo ee8b66da8c Make incremental backup configurable per table
patch by Maxwell Guo; reviewed by Stefan Miklosovic and Benjamin Lerer for CASSANDRA-15402
2022-11-19 10:57:54 +01:00
Ekaterina Dimitrova fb09a5c1bb Merge branch 'cassandra-4.1' into trunk 2022-11-18 15:44:58 -05:00
Ekaterina Dimitrova bc16752bd7 Restore Virtual Tables page, and update nav for new pages
patch by Ekaterina Dimitrova; reviewed by Mick Semb Wever for CASSANDRA-17976

Co-authored-by: Mick Semb Wever <mck@apache.org>
2022-11-18 15:33:49 -05:00
Brad Schoening 3860a90c5f Change shebangs of Python scripts to resolve Python 3 from env command
patch by Brad Schoening; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-17832

Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
2022-11-18 14:38:03 +01:00
Andrés de la Peña 9f99e72aae Add reasons to guardrail messages and consider guardrails in the error message for needed ALLOW FILTERING
* Add optional reason for guarding an operation to every guardrail

* Add reason for disabling ALLOW FILTERING into cassandra.yaml

* Consider allow_filtering_enabled guardrail in the error message for needed ALLOW FILTERING

patch by Andrés de la Peña; reviewed by Berenguer Blasi and Josh McKenzie for CASSANDRA-17967
2022-11-18 13:08:31 +00:00
Andrés de la Peña 6da9e33602 Add support for CQL functions on collections, tuples and UDTs
patch by Andrés de la Peña; reviewed by Benjamin Lerer for CASSANDRA-17811
2022-11-18 10:32:50 +00:00
Saranya Krishnakumar 145dbd1f08 Add flag to exclude nodes from local DC when running nodetool rebuild
Patch by Saranya Krishnakumar; reviewed by Dinesh Joshi, Marcus Eriksson, Yifan Cai for CASSANDRA-17870
2022-11-18 08:04:00 +01:00
Mick Semb Wever f4748e977f
Merge branch 'cassandra-4.1' into trunk
* cassandra-4.1:
  Prepare debian changelog for 4.1-rc1
2022-11-17 12:28:36 +01:00
Mick Semb Wever d6822c45ae
Prepare debian changelog for 4.1-rc1 2022-11-17 11:33:50 +01:00
Mick Semb Wever 4a65120f70
Merge branch 'cassandra-4.1' into trunk
* cassandra-4.1:
  Prepare for 4.1-rc1
2022-11-17 10:59:05 +01:00
Mick Semb Wever 6be7fed242
Prepare for 4.1-rc1 2022-11-17 10:55:14 +01:00
Branimir Lambov 930f141fa0 Merge branch 'cassandra-4.1' into trunk 2022-11-16 10:30:39 +02:00
Branimir Lambov 9f58d76f38 Avoid schema mismatch problems on memtable API misconfiguration
patch by Branimir Lambov; reviewed by Caleb Rackliffe for CASSANDRA-18040
2022-11-16 10:30:16 +02:00
Branimir Lambov e08c7a6295 Avoid schema mismatch problems on memtable API misconfiguration
patch by Branimir Lambov; reviewed by Caleb Rackliffe for CASSANDRA-18040
2022-11-16 10:29:13 +02:00
Jyothsna Konisa 36e16ee3c9 Adding endpoint verification option to client_encryption_options
patch by Jyothsna Konisa; reviewed by Jon Meredith, Yifan Cai for CASSANDRA-18034
2022-11-15 16:06:21 -08:00
Ekaterina Dimitrova d5fd0dceee Merge branch 'cassandra-4.1' into trunk 2022-11-15 17:02:18 -05:00
Ekaterina Dimitrova 444da423d5 CirleCI: Add large Dtests and J8/J11 Java distributed tests;
Fix CQLSHLIB tests config and Python DTests split; CQLSHLIB tests should run with NUM_TOKENS=16
patch by Ekaterina Dimitrova; reviewed by Andres de la Pena for CASSANDRA-18001
2022-11-15 16:12:14 -05:00
Bereng f317eb4f2f Merge branch 'cassandra-4.1' into trunk 2022-11-15 09:36:10 +01:00
Bereng ca00caffab Merge branch 'cassandra-4.0' into cassandra-4.1 2022-11-15 09:34:24 +01:00
Bereng 1df8174d67 Cqlshlib tests are j11 greedy
Patch by Berenguer Blasi; reviewed by Ekaterina Dimitrova and Michael Semb Wever for CASSANDRA-18039
2022-11-15 09:31:45 +01:00