Commit Graph

532 Commits

Author SHA1 Message Date
Stefan Miklosovic e56b58732c
Merge branch 'cassandra-6.0' into trunk 2026-07-10 11:16:49 +02:00
Stefan Miklosovic 2397d52df7
Depend only on platform-specific Zstd JNI native libraries
patch by Stefan Miklosovic; reviewed by Yifan Cai for CASSANDRA-21483
2026-07-10 11:15:25 +02:00
mck 4ddbe3f72b
Merge branch 'cassandra-6.0' into trunk
* cassandra-6.0:
  Fix how ubuntu-test.docker curls to find the latest patch version of each release
2026-07-10 00:16:14 +02:00
mck 29a5c3f9c1
Merge branch 'cassandra-5.0' into cassandra-6.0
* cassandra-5.0:
  Fix how ubuntu-test.docker curls to find the latest patch version of each release
2026-07-10 00:14:28 +02:00
mck 208d87513f
Fix how ubuntu-test.docker curls to find the latest patch version of each release
patch by Mick Semb Wever; reviewed Štefan Miklošovič for CASSANDRA-21489
2026-07-10 00:01:05 +02:00
Stefan Miklosovic 50ddce8455
Merge branch 'cassandra-6.0' into trunk 2026-07-03 11:15:03 +02:00
Stefan Miklosovic 15f139b91e
Merge branch 'cassandra-5.0' into cassandra-6.0 2026-07-03 11:08:42 +02:00
arvindksi274-ksolves 464b2e54f4
Support Python 3.12 and 3.13 in cqlsh
patch by Arvind Kandpal; reviewed by Stefan Miklosovic, Michael Semb Wever for CASSANDRA-20997
2026-07-03 11:02:14 +02:00
Mick Semb Wever a44720c779
Merge branch 'cassandra-6.0' into trunk
* cassandra-6.0:
  Fix publishing to ASF Nexus of Accord artefacts when release staging
2026-07-01 19:29:25 +02:00
Mick Semb Wever 5282f81d0a
Fix publishing to ASF Nexus of Accord artefacts when release staging
Also fail the build if any artefacts fail to upload.

 patch by mick semb wever; reviewed by David Capwell for CASSANDRA-21261
2026-07-01 19:25:15 +02:00
Jarek Potiuk 106e90b360
Add security-model discoverability (AGENTS.md -> SECURITY.md -> security model)
Wires the conventional AGENTS.md -> SECURITY.md -> security model chain so automated tooling
can mechanically discover the project's security model. No model content is changed.

patch by Jarek Potiuk; reviewed by Stefan Miklosovic, Michael Semb Wever for CASSANDRA-21464

Assisted-by: Claude Opus 4.8 (1M context)
2026-06-16 10:21:37 +02:00
mck 308adc4f82
Merge branch 'cassandra-6.0' into trunk
* cassandra-6.0:
  Implement splits for microbench test type
2026-06-14 16:50:50 +02:00
mck f1b6eafc76
Merge branch 'cassandra-5.0' into cassandra-6.0
* cassandra-5.0:
  Implement splits for microbench test type
2026-06-14 16:50:17 +02:00
Mick Semb Wever a1352e9be9
Implement splits for microbench test type
Also distinguish benches by jdk version and host arch.

 patch by Mick Semb Wever; reviewed by Dmitry Konstantinov for CASSANDRA-21242
2026-06-14 16:49:13 +02:00
Francisco Guerrero f7216abf4e Fix git hooks in cassandra builds where core.symlinks is false
patch by Francisco Guerrero; reviewed by TBD for CASSANDRA-21430
2026-06-11 14:14:39 -06:00
Francisco Guerrero 92a0863358 Fix git hooks in cassandra builds where core.symlinks is false
patch by Francisco Guerrero; reviewed by TBD for CASSANDRA-21430
2026-06-11 08:21:08 -06:00
Alex Petrov 3831d8265d
Add suite of skills for AI
patch by Alex Petrov; reviewed by Stefan Miklosovic for CASSANDRA-21373
2026-06-09 17:31:47 +02:00
Maxim Muzafarov a84647c6c7
Merge branch 'cassandra-6.0' into trunk
* cassandra-6.0:
  Remove golang dependency in gen-doc and replace with python implementation
2026-06-08 22:00:27 +02:00
Maxim Muzafarov 22eb0f9fb7
Merge branch 'cassandra-5.0' into cassandra-6.0
* cassandra-5.0:
  Remove golang dependency in gen-doc and replace with python implementation
2026-06-08 21:54:28 +02:00
Maxim Muzafarov 8c992cb6a5
Remove golang dependency in gen-doc and replace with python implementation
patch by Maxim Muzafarov; reviewed by Dmitry Konstantinov for CASSANDRA-21432
2026-06-08 21:47:08 +02:00
mck bd900f5c03
Merge branch 'cassandra-6.0' into trunk
* cassandra-6.0:
  Preload dependencies in build docker images to reduce downloading at build/test/ci runtime
2026-06-05 21:07:58 +02:00
mck 14ace18ae4
Merge branch 'cassandra-5.0' into cassandra-6.0
* cassandra-5.0:
  Preload dependencies in build docker images to reduce downloading at build/test/ci runtime
2026-06-05 21:04:09 +02:00
mck b78f654fff
Preload dependencies in build docker images to reduce downloading at build/test/ci runtime
Additional fixes
 - upgrade ubuntu-test.docker to ubuntu 22.04 (and some small fixes brought forward from CASSANDRA-20997)
 - (.jenkins/k8s) changes gke's small node pool from n2-highcpu-8 to e2-highcpu-8 (gke's own pod resources reqs increased)
 - (.jenkins/k8s) limit one agent pod per node (when jenkins is deployed in k8s using our helm)
 - (.jenkins/k8s) add the cassandra-6.0 job
 - pass maven.repo.local sys prop, if set, into accord's gradle build
 - check and fail on maven dependencies checksums when downloading
 - when on-the-fly building docker images add `--load` (podman compatbility)
 - newer python versions can use venv instead of virtualenv
 - rename ubuntu2004_test.docker to ubuntu-test.docker (in 5.0)
 - (Jenkinsfile) fix retries (which was no longer working when agents/nodes died, since CASSANDRA-20833)
 - (Jenkinsfile) @NonCPS where (now) needed
 - (Jenkinsfile) fix default value for the branch parameter (after a new helm deploy)
 - (.build/run-ci) fix missing parameters on jobs also at helm deploy time
 - (.build/run-ci) .git suffixes on repo urls are optional

 patch by Mick Semb Wever; reviewed by Dmitry Konstantinov, Stefan Miklosovic for CASSANDRA-21403
2026-06-05 21:01:30 +02:00
Stefan Miklosovic 50960a2e7e
Remove 4.0 upgrade paths and related 4.0 tests
patch by Stefan Miklosovic; reviewed by Michael Semb Wever for CASSANDRA-21324
2026-06-02 23:54:38 +02:00
Dmitry Konstantinov e6642fe4c9 Merge branch 'cassandra-6.0' into trunk
* cassandra-6.0:
  Implement custom CassandraThread to keep direct references to frequently used thread local objects
2026-06-02 14:02:17 +01:00
Dmitry Konstantinov 72d53e3919 Implement custom CassandraThread to keep direct references to frequently used thread local objects
patch by Dmitry Konstantinov; reviewed by Benedict Elliott Smith, Stefan Miklosovic for CASSANDRA-21020
2026-06-02 13:56:59 +01:00
Dmitry Konstantinov e686ab81ca Merge branch 'cassandra-6.0' into trunk
* cassandra-6.0:
  Reduce time to execute microbench-test
2026-05-21 20:52:31 +01:00
Dmitry Konstantinov 1f078c0daf Reduce time to execute microbench-test
Set 1 thread and 1 second for the measurement iteration (note: it is a smoke test only, we do not analyze results from such short measurements)
Exclude some options for heavy benchmarks by default
Shutdown all threads once JMH test is completed to avoid awaiting of a forked JVM till timeout at the end

patch by Dmitry Konstantinov; reviewed by Michael Semb Wever for CASSANDRA-21388
2026-05-21 20:27:42 +01:00
Maxim Muzafarov 706b71e360
Merge branch 'cassandra-6.0' into trunk
* cassandra-6.0:
  Bump checkstyle version up to 10.26.1
2026-05-21 16:48:47 +02:00
Maxim Muzafarov d1b76b6e9a
Merge branch 'cassandra-5.0' into cassandra-6.0
* cassandra-5.0:
  Bump checkstyle version up to 10.26.1
2026-05-21 16:47:09 +02:00
Dmitry Konstantinov 2ebc3be787 Merge branch 'cassandra-6.0' into trunk
* cassandra-6.0:
  Increase Xmx to 2Gb for Ant executed by check-code.sh to avoid OOM
2026-05-21 15:33:37 +01:00
Dmitry Konstantinov 48aebdac48 Increase Xmx to 2Gb for Ant executed by check-code.sh to avoid OOM
patch by Dmitry Konstantinov; reviewed by Michael Semb Wever for CASSANDRA-21391
2026-05-21 15:32:11 +01:00
Maxim Muzafarov 16c0d1233e
Bump checkstyle version up to 10.26.1
patch by Maxim Muzafarov; reviewd by Dmitry Konstantinov for CASSANDRA-21395
2026-05-21 16:09:59 +02:00
Dmitry Konstantinov 6525296e67 Merge branch 'cassandra-6.0' into trunk
* cassandra-6.0:
  Print class histogram in case of ant failure in check-code.sh
2026-05-21 11:20:24 +01:00
Dmitry Konstantinov 9267874656 Print class histogram in case of ant failure in check-code.sh
patch by Dmitry Konstantinov; reviewed by Stefan Miklosovic,Maxim Muzafarov for CASSANDRA-21391
2026-05-21 11:18:29 +01:00
Benedict Elliott Smith dc7935be80 Merge branch 'cassandra-6.0' into trunk 2026-05-16 21:15:27 +01:00
Benedict Elliott Smith a0dc6f857b Introduce AccordExecutorSignalLoop that aims to reduce lock contention:
- consumer and producer threads wait signal without acquiring the lock first
 - lock owners may prepare more work than they need, moving some dynamically-adjusted portion of the work from the prioritised lock-managed structures onto a non-blocking queue, so that other threads may consume work from there; the portion is continually micro-adjusted to target some available work whenever the lock is acquired.
 - adopts/supports some features of the SEPExecutor:
  - threads may auto-adjust the number of running threads based on how much time is collectively spent waiting, to minimise time spent signalling
  - consumers may (timed-sleep) poll rather than await a signal, reducing the number of kernel interactions needed; relying on the auto-adjustment to bound the time the scheduler spends waking threads with no work to do
Also Fix:
 - Client Result should not be persisted or included in Command object at any time

patch by Benedict; reviewed by Alex Petrov and Ariel Weisberg for CASSANDRA-21375
2026-05-16 21:12:49 +01:00
maoling 41239b07b4
Add AGENTS.md and CLAUDE.md
patch by Ling Mao; reviewed by David Capwell, Stefan Miklosovic for CASSANDRA-21301

Co-authored-by: David Capwell <dcapwell@gmail.com>
2026-05-14 12:49:47 +02:00
Benedict Elliott Smith 8ad8e56378 Artificial Latency Injection
patch by Benedict; reviewed by Alex Petrov and Ariel Weisberg for CASSANDRA-17024
2026-05-13 14:20:56 +01:00
Josh McKenzie 84016ab151 Quiet down the noisiness on empty array deref in post-checkout hook
Patch by Josh McKenzie; reviewed by David Capwell for CASSANDRA-21364

Follow-up patch
2026-05-11 16:53:45 -04:00
Josh McKenzie f55c4d2a9b Add BUILD_OFFLINE capability to skip post-checkout submodule init
Patch by Josh McKenzie; reviewed by David Capwell for CASSANDRA-21364
2026-05-11 15:03:05 -04:00
Dmitry Konstantinov e64e119c8d Add no-build-accord Ant option to be able to skip Accord module rebuild
patch by Dmitry Konstantinov; reviewed by Stefan Miklosovic for CASSANDRA-21350
2026-05-06 12:42:26 +01:00
Stefan Miklosovic 3f1593064c
Include cassandra-6.0 in build/run-tests.sh and .circleci/config.yml
This is the continuation of CASSANDRA-21319 to make branching of cassandra-6.0 done.
The change in .build/run-ci will start to route jobs to cassandra-6.0 pipeline in pre-ci.

patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-21319
2026-04-20 16:56:14 +02:00
mck 50bf9b6aae
Generation of in-tree html and manpages documentation
patch by Mick Semb Wever; reviewed by Anthony Grasso for CASSANDRA-17260
2026-04-10 19:36:50 +02:00
Paulo Motta 9500eb129b Backport Automated Repair Inside Cassandra (CEP-37)
Includes bug fixes and features:
- Improved observability in AutoRepair (CASSANDRA-20581)
- Stop repair scheduler if two major versions detected (CASSANDRA-20048)
- Safeguard Full repair against disk protection (CASSANDRA-20045)
- Stop AutoRepair monitoring thread upon shutdown (CASSANDRA-20623)
- Fix race condition in auto-repair scheduler (CASSANDRA-20265)
- Minimum repair task duration setting (CASSANDRA-20160)
- Preview_repaired auto-repair type (CASSANDRA-20046)
- Gate auto-repair behind cassandra.autorepair.enable JVM property
- Add cassandra.autorepair.check_min_version to gate minimum version enforcement
- Prevent auto-repair from running if any node is below 5.0.7
- Make system_distributed auto-repair schema conditional on feature being enabled
- Add user-friendly errors for disabled auto-repair and schema incompatibility

patch by Paulo Motta; reviewed by Andy Tolbert, Jaydeepkumar Chovatia for CASSANDRA-21138

Co-Authored-By: Andy Tolbert <andy_tolbert@apple.com>
Co-Authored-By: Chris Lohfink <clohfink@netflix.com>
Co-Authored-By: Francisco Guerrero <frankgh@apache.org>
Co-Authored-By: Himanshu Jindal <himanshj@amazon.com>
Co-Authored-By: Jaydeepkumar Chovatia <jchovati@uber.com>
Co-Authored-By: Kristijonas Zalys <kzalys@uber.com>
Co-Authored-By: jaydeepkumar1984 <chovatia.jaydeep@gmail.com>
2026-04-08 10:53:41 -04:00
mck 5f9de8ca13
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Rate limit password changes
2026-03-16 22:06:27 +01:00
Stefan Miklosovic 56c3d72fe8
Merge branch 'cassandra-5.0' into trunk 2026-02-17 11:46:44 +11:00
Stefan Miklosovic 60c7f05138
Cleanup of dependency-check-suppressions.xml, suppressing CVE-2025-67735
patch by Stefan Miklosovic; reviewed by Michael Semb Wever for CASSANDRA-21159
2026-02-17 11:40:01 +11:00
MichaelMorris 8b6195a975
Upgrade logback version to 1.5.18 and slf4j dependencies to 2.0.17
Dropback of CASSANDRA-20429 to cassandra-5.0

patch by Michael Morris; reviewed by Stefan Miklosovic, Brandon Williams for CASSANDRA-21137
2026-02-06 13:28:03 +11:00
Josh McKenzie 940739a488 Add JDK21 support
Patch by Josh McKenzie; reviewed by Mick Semb Wever and Ekaterina Dimitrova for CASSANDRA-18831

Co-authored-by: Aleksey Yeschenko
Co-authored-by: Achilles Benetopoulos
Co-authored-by: Mick Semb Wever
2026-02-02 12:39:05 -05:00