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
e8cfd1acff
Merge branch 'cassandra-6.0' into trunk
...
* cassandra-6.0:
Reduce cost to calculate BTreeRow.minDeletionTime
2026-06-02 22:00:51 +01:00
Dmitry Konstantinov
6c31b04ec0
Reduce cost to calculate BTreeRow.minDeletionTime
...
patch by Dmitry Konstantinov; reviewed by Francisco Guerrero for CASSANDRA-21414
2026-06-02 21:41:54 +01:00
Francisco Guerrero
df6b4fb46c
Establish the Security Model for Cassandra
...
patch by Francisco Guerrero; reviewed by Stefan Miklosovic for CASSANDRA-21392
2026-06-02 10:26:58 -07: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
Benedict Elliott Smith
d3923f822e
Merge branch 'cassandra-6.0' into trunk
2026-06-02 13:48:39 +01:00
Benedict Elliott Smith
e278f0cbbc
Merge branch 'cassandra-5.0' into cassandra-6.0
2026-06-02 13:48:31 +01:00
Benedict Elliott Smith
1656a9cb01
Merge branch 'cassandra-4.1' into cassandra-5.0
2026-06-02 13:46:18 +01:00
Benedict Elliott Smith
37b85a35b4
Merge branch 'cassandra-4.0' into cassandra-4.1
2026-06-02 13:45:58 +01:00
abeckruiz
863cb651e7
BTree.FastBuilder.reset() fails to clear savedBuffer and savedNextKey, causing ClassCastException and SSTable header corruption during schema disagreement
...
patch by Andrés Beck-Ruiz, Runtian Liu; reviewed by Zhao Yang, Benedict Elliott Smith for CASSANDRA-21216
Co-authored-by: Runtian Liu <runtian@uber.com>
2026-06-02 10:14:26 +01:00
Patrick McFadin
cc97ee5332
CASSANDRA-21342: Long-tail xref follow-up on trunk
...
Follow-up to the umbrella patch for CASSANDRA-21342 (merged 2026-05-14).
Closes the long-tail of trunk xref errors that remained after the first
wave landed.
Mechanical retargets only; no prose was rewritten and no pages were
added or removed. Anchors that did not exist are added with the
project's existing [[anchor]] convention.
Edit classes:
* Module-prefix xrefs: bare/partial paths -> cassandra:-qualified
* Moved-page xrefs: retarget to current home on trunk
* Filename typo: defintions.adoc -> definitions.adoc
* Extension: .html -> .adoc; writetime retargeted to functions.adoc
* nodetool xrefs: qualify to cassandra:managing/tools/nodetool/
* Anchors: add three missing [[anchor]] targets and retarget the
xrefs that point at them
For every still-existing anchor target the destination page and
[[anchor]] (or generated section id) were grep-verified on
upstream/trunk before the edit. Triage was driven by the 2026-04-21
Antora 3 baseline (Jenkins #2752 ); patterns where no source file on
trunk still references the old target were treated as already-closed
and not touched.
Build verification: cassandra-website built locally with Antora 3
against this branch as the cassandra source drops trunk-level errors
from 161 (baseline) to 3. The three remaining errors are all in
cassandra-website source (blog posts + main-nav.adoc) and out of
scope for this patch.
Drafting and triage were performed with AI assistance (Anthropic
Claude); the change set is reviewable as mechanical xref retargets
and anchor additions. Source provenance per ASF generative tooling
guidance.
patch by Patrick McFadin; reviewed by Mick Semb Wever for CASSANDRA-21342
2026-06-01 16:33:31 -07:00
Dmitry Konstantinov
6eb2d5d880
Merge branch 'cassandra-6.0' into trunk
...
* cassandra-6.0:
Avoid megamorphic call overhead at RandomAccessReader#current
2026-06-01 12:23:36 +01:00
Dmitry Konstantinov
c0999f04d1
Avoid megamorphic call overhead at RandomAccessReader#current
...
patch by Dmitry Konstantinov; reviewed by Stefan Miklosovic, Francisco Guerrero for CASSANDRA-21399
2026-06-01 12:10:26 +01:00
Dmitry Konstantinov
e6064f11c1
Merge branch 'cassandra-6.0' into trunk
...
* cassandra-6.0:
Enable async GC logging for JDK versions which support it to avoid potential hiccups caused by GC log file I/O blocking
2026-05-31 13:27:26 +01:00
Dmitry Konstantinov
e2dae5e7a0
Enable async GC logging for JDK versions which support it to avoid potential hiccups caused by GC log file I/O blocking
...
patch by Dmitry Konstantinov; reviewed by Stefan Miklosovic for CASSANDRA-21372
2026-05-31 12:58:27 +01:00
Stefan Miklosovic
c59ae41217
Merge branch 'cassandra-6.0' into trunk
2026-05-31 11:27:44 +02:00
walcp1
bbff4f8d18
Add rowsMutatedPerWriteHistogram metric to track rows mutated per write request
...
patch by Piotrek Walczak; reviewed by Dmitry Konstantinov, Stefan Miklosovic for CASSANDRA-21320
2026-05-31 11:26:02 +02:00
Dmitry Konstantinov
9c3caa8c95
Merge branch 'cassandra-6.0' into trunk
...
* cassandra-6.0:
A test emitting both a failure and error element in the same JUnit XML testcase crashes CI summary generation
2026-05-30 16:54:57 +01:00
Dmitry Konstantinov
ae447445b3
Merge branch 'cassandra-5.0' into cassandra-6.0
...
* cassandra-5.0:
A test emitting both a failure and error element in the same JUnit XML testcase crashes CI summary generation
2026-05-30 16:45:06 +01:00
Dmitry Konstantinov
ffe7f761b8
A test emitting both a failure and error element in the same JUnit XML testcase crashes CI summary generation
...
patch by Dmitry Konstantinov; reviewed by Michael Semb Wever for CASSANDRA-21396
2026-05-30 16:23:50 +01:00
David Capwell
7456dbc82e
ShardDurability.markDefunct() called O(N²) times across topology updates, causing log spam and OOM in tests
...
patch by David Capwell; reviewed by Benedict Elliott Smith for CASSANDRA-21410
2026-05-29 09:18:54 -07:00
Stefan Miklosovic
ad9db90a1f
Merge branch 'cassandra-6.0' into trunk
2026-05-29 16:21:26 +02:00
pwalczak
03450cdea6
Add TotalRowsRead and TotalRowsMutated counters to TableMetrics for accurate per-table row throughput tracking
...
patch by Piotrek Walczak; reviewed by Dmitry Konstantinov, Stefan Miklosovic for CASSANDRA-21321
2026-05-29 16:20:38 +02:00
Marcus Eriksson
04064783bf
fix cluster metadata upgrade tests - these only make sense when upgrading from a gossip cluster to a cluster metadata one
...
patch by Marcus Eriksson; reviewed by Francisco Guerrero for CASSANDRA-21326
2026-05-29 11:40:10 +02:00
Stefan Miklosovic
68133fe705
Merge branch 'cassandra-6.0' into trunk
2026-05-29 09:54:56 +02:00
Stefan Miklosovic
e21461e4e8
Move exception handling of SPI startup checks when iterating over them
...
patch by Stefan Miklosovic; reviewed by Caleb Rackliffe for CASSANDRA-21409
2026-05-29 09:35:52 +02:00
Dmitry Konstantinov
c588b674bf
Merge branch 'cassandra-6.0' into trunk
...
* cassandra-6.0:
Avoid type lookup in SerializationHeader#getType if schema and SSTable are aligned
2026-05-28 15:20:11 +01:00
Dmitry Konstantinov
9198058986
Avoid type lookup in SerializationHeader#getType if schema and SSTable are aligned
...
patch by Dmitry Konstantinov; reviewed by Francisco Guerrero for CASSANDRA-21402
2026-05-28 15:11:03 +01:00
Dmitry Konstantinov
0a6774d35d
Merge branch 'cassandra-6.0' into trunk
...
* cassandra-6.0:
Replace LongAdder in metric-like logic with ThreadLocalCounter
2026-05-28 14:58:42 +01:00
Dmitry Konstantinov
454f62d45a
Replace LongAdder in metric-like logic with ThreadLocalCounter
...
patch by Dmitry Konstantinov; reviewed by Stefan Miklosovic for CASSANDRA-21400
2026-05-28 14:22:47 +01:00
David Capwell
d8de51c654
Merge branch 'cassandra-6.0' into trunk
2026-05-27 15:23:20 -07:00
David Capwell
bc6e4a2b63
Fix flaky test DropAccordTableTest
...
patch by David Capwell; reviewed by Caleb Rackliffe for CASSANDRA-21397
2026-05-27 15:21:07 -07:00
Dmitry Konstantinov
fbf1137c80
Merge branch 'cassandra-6.0' into trunk
...
* cassandra-6.0:
BTreeRow.hasLiveData: avoid Cell iteration if there are no cell tombstones
2026-05-26 15:48:24 +01:00
Dmitry Konstantinov
bf711a0fc1
BTreeRow.hasLiveData: avoid Cell iteration if there are no cell tombstones
...
patch by Dmitry Konstantinov; reviewed by Francisco Guerrero for CASSANDRA-21363
2026-05-26 15:33:28 +01:00
The Apache Software Foundation
c84f3d4d51
Set up default protection ruleset for default and release branches
...
patch by The Apache Software Foundation; reviewed by Stefan Miklosovic, Michael Semb Wever for CASSANDRA-21404
Co-authored-by: mck <mck@apache.org>
2026-05-25 11:11:43 +02:00
Dmitry Konstantinov
0998495417
Merge branch 'cassandra-6.0' into trunk
...
* cassandra-6.0:
Reduce memory allocations in row merge logic
2026-05-21 22:42:22 +01:00
Dmitry Konstantinov
71e8b7c213
Reduce memory allocations in row merge logic
...
org.apache.cassandra.utils.MergeIterator.Candidate - has Comparator field which is the same for all Candidates under an MergeIterator instance, we can move the field to MergeIterator level. Candidate is 4.8% of all allocations and we can save 20% (~1% of all allocations) of it for JDK 21 with compressed references on.
switch from ArrayList to array in org.apache.cassandra.db.rows.Row.Merger
The ArrayList iterator costs 0.72% and BulkIterator.Adapter costs 0.35%. So, in total we can save here ~1% of total allocations.
patch by Dmitry Konstantinov; reviewed by Francisco Guerrero for CASSANDRA-21359
2026-05-21 22:28:59 +01:00
Stefan Miklosovic
a656b7b556
Merge branch 'cassandra-6.0' into trunk
2026-05-21 22:04:44 +02:00
Stefan Miklosovic
b3bc7c019f
Add get/setDataDiskUsageKeyspaceWideProtectionEnabled to GuardrailsConfig
...
This was forgotten in the original patch.
patch by Stefan Miklosovic; reviewed by Paulo Motta for CASSANDRA-21024
2026-05-21 22:03:41 +02: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
Francisco Guerrero
f77189325b
Avoid using ObjectUtils.getFirstNonNull in Schema
...
Patch by Francisco Guerrero; reviewed by Dmitry Konstantinov for CASSANDRA-21394
2026-05-21 10:36:32 -07: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