Commit Graph

30712 Commits

Author SHA1 Message Date
Stefan Miklosovic 89d153affd
Merge branch 'cassandra-5.0' into trunk 2025-04-02 22:46:32 +02:00
Stefan Miklosovic 27a6ef3ea8
Update netty to 4.1.119.Final and netty-tcnative to 2.0.70.Final
patch by Stefan Miklosovic; reviewed by Dmitry Konstantinov for CASSANDRA-20314
2025-04-02 22:43:52 +02:00
Doug Rohrer b01274d6f6 CASSANDRA-20496 - Add CQLSSTableWriter tests for Vectors and Constraints
New features in the storage engine need to be appropriately tested in the CQLSSTableWriter code
so they can be used in the Analytics library and others utilizing the writer library.
Add a test for support of Vector data types and constraints to ensure they work with the
CQLSSTableWriter and make any changes necessary if they don’t.

patch by Doug Rohrer; reviewed by Bernardo Botella, Stefan Miklosovic for CASSANDRA-20496
2025-04-02 15:34:19 -04:00
Stefan Miklosovic 9d6c3c43b8
Merge branch 'cassandra-5.0' into trunk 2025-04-02 12:11:24 +02:00
Stefan Miklosovic 7076623ac7
Merge branch 'cassandra-4.1' into cassandra-5.0 2025-04-02 12:07:43 +02:00
Stefan Miklosovic 49ec0dc692
Merge branch 'cassandra-4.0' into cassandra-4.1 2025-04-02 12:04:07 +02:00
Stefan Miklosovic 73f0e2e401
Suppress CVE-2025-25193
patch by Stefan Miklosovic; reviewed by Michael Semb Wever, Brandon Williams for CASSANDRA-20504
2025-04-02 11:52:11 +02:00
Stefan Miklosovic bb66561142
Various fixes in constraint framework
- fix some edge cases for NOT_NULL
- ability to specify constraints when altering a column
- ensure constraint is specified on a column it is bound to
- fix nullity check on map type
- fix satistfiability check on function constraints

patch by Stefan Miklosovic; reviewed by Bernardo Botella for CASSANDRA-20481
2025-03-31 14:42:31 +02:00
Stefan Miklosovic 2e356413ee
Merge branch 'cassandra-5.0' into trunk 2025-03-31 14:35:00 +02:00
Stefan Miklosovic d954c19b21
CASSANDRA-20296 follow-up: by default, explicitly set -XX:MaxDirectMemorySize to half of -Xmx
patch by Stefan Miklosovic; reviewed by Michael Semb Wever for CASSANDRA-20296
2025-03-31 12:55:32 +02:00
Mick Semb Wever 41b8fd0da4
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  ninja-fix – python2 compat on .build/generate-snyk-file
2025-03-30 14:03:39 +02:00
Mick Semb Wever 11eb601352
Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  ninja-fix – python2 compat on .build/generate-snyk-file
2025-03-30 14:03:01 +02:00
Mick Semb Wever 5baedef1d0
Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  ninja-fix – python2 compat on .build/generate-snyk-file
2025-03-30 13:57:25 +02:00
Mick Semb Wever e2a881959b
ninja-fix – python2 compat on .build/generate-snyk-file
debian packaging still uses python2
redhat packaging clobbers the exec bit on git clones
2025-03-30 13:55:41 +02:00
Mick Semb Wever 68a4e6f690
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Autogenerate toplevel .snyk file from owasp suppressions
2025-03-30 09:34:30 +02:00
Mick Semb Wever 1311766ad1
Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Autogenerate toplevel .snyk file from owasp suppressions
2025-03-30 09:32:10 +02:00
Mick Semb Wever ef3dc6491e
Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Autogenerate toplevel .snyk file from owasp suppressions
2025-03-30 09:31:04 +02:00
Mick Semb Wever 9abed87ba4
Autogenerate toplevel .snyk file from owasp suppressions
patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-20319
2025-03-30 09:27:39 +02:00
David Capwell b56edf2a5d Add support in CAS for -= on numeric types, and fixed improper handling of empty bytes which lead to NPE
patch by David Capwell; reviewed by Ariel Weisberg for CASSANDRA-20477
2025-03-28 15:06:52 -07:00
Blake Eggleston 4e8bfd25ba Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  convert legacy zero ballots to 4.1 zero value on deserialization
2025-03-28 14:14:34 -07:00
Blake Eggleston 31235c4314 Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  convert legacy zero ballots to 4.1 zero value on deserialization
2025-03-28 14:12:32 -07:00
Blake Eggleston 2a5749f203 convert legacy zero ballots to 4.1 zero value on deserialization
Patch by Blake Eggleston, reviewed by Alex Petrov and Ariel Weisberg for CASSANDRA-20493
2025-03-28 14:10:18 -07:00
Mick Semb Wever 607fae54b3
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Add LegacySSTableTest data for past sstable formats
  Fix comment in BigFormat wrt when nb was introduced
2025-03-28 12:45:51 +01:00
Roxana Neophytou ab51b79473
Add LegacySSTableTest data for past sstable formats
Also add test method testVerifyOldTupleSSTables for frozen tuples and dropping of them.

The test data also adds different versions of me format sstables from C* version 3.0.25 and 3.11.11 as they do (unfortunately) differ. Test sstable files have had their sequence generation ids changed to represent the server version used to create them, while this shouldn't be necessary it is for debug purposes when sstable formats have changed between versions.

 patch by Roxana Neophytou, Mick Semb Wever; reviewed by Dmitry Konstantinov for CASSANDRA-20485

Co-authored-by: mck <mck@apache.org>
2025-03-28 12:33:28 +01:00
Mick Semb Wever 85ca91fd64
Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Fix comment in BigFormat wrt when nb was introduced
2025-03-28 11:11:17 +01:00
Mick Semb Wever 042c657c42
Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Fix comment in BigFormat wrt when nb was introduced
2025-03-28 10:45:11 +01:00
Mick Semb Wever e41a71b34b
Fix comment in BigFormat wrt when nb was introduced
patch by Mick Semb Wever; reviewed by Dmitry Konstantinov for CASSANDRA-20485
2025-03-28 10:41:37 +01:00
Stefan Miklosovic 9843b3d40e
Do not fail to start a node with materialized views after they are turned off in config
patch by Stefan Miklosovic; reviewed by Maxwell Guo for CASSANDRA-20452
2025-03-28 09:12:21 +01:00
maoling 009146959a
Fix nodetool gcstats output, support human-readable units and more output formats
nodetool gcstats output was broken as such / not aligned.
This command was using a completely custom way of displaying the statistics which was fixed.

This patch also supports three output modes: table, yaml, json under -F flag.
There is also a possibility to output the figures in human-friendly format via -H flag.

The patch also adds more JVM statistics related to direct memory besides
already existing "allocated direct memory" being:
 - max direct memory
 - reserved direct memory

patch by Ling Mao; reviewed by Brad Schoening, Stefan Miklosovic for CASSANDRA-19022

Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
2025-03-28 09:10:39 +01:00
Dmitry Konstantinov 5fa6b03e8b Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Fix CommitlogShutdownTest flakiness by testing a real drain logic instead an emulation which is affected by background activities for system tables
2025-03-27 13:22:12 +00:00
Dmitry Konstantinov 10f66d5ccb Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Fix CommitlogShutdownTest flakiness by testing a real drain logic instead an emulation which is affected by background activities for system tables
2025-03-27 13:12:14 +00:00
Dmitry Konstantinov 1a0ea33188 Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Fix CommitlogShutdownTest flakiness by testing a real drain logic instead an emulation which is affected by background activities for system tables
2025-03-27 12:48:55 +00:00
Dmitry Konstantinov bc8941e377 Fix CommitlogShutdownTest flakiness by testing a real drain logic instead an emulation which is affected by background activities for system tables
Patch by Dmitry Konstantinov; reviewed by Josh McKenzie for CASSANDRA-19101
2025-03-27 12:19:55 +00:00
Marcus Eriksson 4318e74180 Various gossip to TCM upgrade fixes
patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-20483
2025-03-26 13:45:16 +01:00
Marcus Eriksson 4fb81ea483 Add nodetool command to abort failed nodetool cms initialize
Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-20482
2025-03-26 13:44:39 +01:00
Sam Tunnicliffe 51e01a3862 Repair Paxos for the distributed metadata log when CMS membership changes
Patch by Josh McKenzie and Sam Tunnicliffe; reviewed by Marcus Ericksson for
CASSANDRA-20467

Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
Co-authored-by: Sam Tunnicliffe <samt@apache.org>
2025-03-26 10:34:34 +00:00
Marcus Eriksson 615aa04edf Reintroduce CASSANDRA-17411 in trunk
Patch by marcuse; reviewed by Caleb Rackliffe and Sam Tunnicliffe for CASSANDRA-19346
2025-03-26 08:02:28 +01:00
Stefan Miklosovic 35ea72b718
Merge branch 'cassandra-5.0' into trunk 2025-03-25 10:13:38 +01:00
Arra, Praveen R f7d39dfff4
Updated documentation related to commitlog, storage engine and other improvements
patch by Arra Praveen; reviewed by Stefan Miklosovic for CASSANDRA-20454
2025-03-25 10:11:36 +01:00
Sam Tunnicliffe 73cd2c56ca Add histogram columns to timer metrics vtable
Patch by Sam Tunnicliffe; reviewed by Maxim Muzafarov for
CASSANDRA-20466
2025-03-24 12:01:09 +00:00
Mick Semb Wever 9ac8a1fa98
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Fix typo on architecture/overview.adoc
2025-03-24 11:52:17 +01:00
Edgar Modesto 4226a7770e
Fix typo on architecture/overview.adoc
patch by Edgar Modesto; reviewed by Mick Semb Wever for CASSANDRA-20473
2025-03-24 11:51:18 +01:00
David Capwell ea4ff0e966 Expand TableWalk tests to include collections and add support for += and -= for these types
patch by David Capwell; reviewed by Abe Ratnofsky for CASSANDRA-20460
2025-03-21 11:45:33 -07:00
Brandon Williams 10c8c04244 Merge branch 'cassandra-5.0' into trunk 2025-03-21 09:53:25 -05:00
Brandon Williams 91d78afc2b Add CASSANDRA-15452 to CHANGES 2025-03-21 09:53:13 -05:00
Mick Semb Wever 4276722866
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Fix reference nav section in in-tree docs
2025-03-21 11:15:02 +01:00
mck b22c0b1317
Fix reference nav section in in-tree docs
patch by Mick Semb Wever; reviewed by Štefan Miklošovič for CASSANDRA-20451
2025-03-21 11:11:26 +01:00
Stefan Miklosovic 02d71cee45
Add support for time, date, timestamp types in scalar constraint
patch by Stefan Miklosovic; reviewed by Bernardo Botella for CASSANDRA-20274
2025-03-20 21:03:55 +01:00
Arra, Praveen R 12c061b3bb
Updated documentation with additional function examples
patch by Arra Praveen; reviewed by Stefan Miklosovic for CASSANDRA-20254
2025-03-20 11:16:18 +01:00
Caleb Rackliffe 9b59f8eb09 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Serialization can lose complex deletions in a mutation with multiple collections in a row
2025-03-19 12:35:21 -05:00