Commit Graph

31811 Commits

Author SHA1 Message Date
Stefan Miklosovic c5d01299b0
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 17:22:37 +02:00
Stefan Miklosovic e509d3458b
Merge branch 'cassandra-6.0' into trunk 2026-04-20 16:57:21 +02: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 176b9b17a4
increment to version 7.0
CASSANDRA-21319
2026-04-19 19:33:39 +02:00
mck daadd25fb2
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Paxos v2 cassandra.yaml option
2026-04-18 14:14:53 +02:00
mck 9db2e7ac82
Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Paxos v2 cassandra.yaml option
2026-04-18 14:13:21 +02:00
mck 965dd70b23
Paxos v2 cassandra.yaml option
patch by Mick Semb Wever; reviewed by Jon Haddad for CASSANDRA-21316
2026-04-18 14:12:39 +02:00
Dmitry Konstantinov 32162cf544 Change default for cassandra.set_sep_thread_name to false to reduce CPU usage
Add an extra optimization if it is enabled: invoke Thread.setName only if a phase changed

patch by Dmitry Konstantinov; reviewed by Francisco Guerrero, Jyothsna Konisa for CASSANDRA-21089
2026-04-17 13:11:47 +01:00
David Capwell 7b3514d443 Merge branch 'cassandra-5.0' into trunk 2026-04-17 04:57:53 -07:00
David Capwell 39977ce066 Merge branch 'cassandra-4.1' into cassandra-5.0 2026-04-17 04:55:26 -07:00
David Capwell 304386a2d2 Merge branch 'cassandra-4.0' into cassandra-4.1 2026-04-17 04:54:08 -07:00
David Capwell de20468edd generate-eclipse-files missing simulator/harry and missing src class path
patch by David Capwell; reviewed by Aleksey Yeschenko for CASSANDRA-21312
2026-04-17 04:51:54 -07:00
Stefan Miklosovic 001accf8d2
Merge branch 'cassandra-5.0' into trunk 2026-04-17 11:09:37 +02:00
Stefan Miklosovic edf6034113
Merge branch 'cassandra-4.1' into cassandra-5.0 2026-04-17 10:50:25 +02:00
Stefan Miklosovic 5e26f2527d
Merge branch 'cassandra-4.0' into cassandra-4.1 2026-04-17 10:40:04 +02:00
Pedro Gordo 5aec56de3b
Backport CASSANDRA-17810 fix and improve RTBoundValidator error messages
patch by Pedro Gordo; reviewed by Josh McKenzie, Stefan Miklosovic for CASSANDRA-18282
2026-04-17 10:28:16 +02:00
Alan Wang 02352b78d5 Reject writes that modify the same (row, col) more than once in a transaction, to avoid ambiguous cell resolution behaviour
patch by Alan Wang; reviewed by Benedict for CASSANDRA-21136
2026-04-16 19:53:52 +01:00
Brandon Williams b9c4b10eae Merge branch 'cassandra-5.0' into trunk 2026-04-16 10:53:26 -05:00
Brandon Williams da38230235 Revert "ninja: restore doc/antora.yml"
This reverts commit 6243a1a93c.
2026-04-16 10:53:14 -05:00
Brandon Williams 07e4e4cdde Merge branch 'cassandra-5.0' into trunk 2026-04-16 10:44:00 -05:00
Brandon Williams 6243a1a93c ninja: restore doc/antora.yml 2026-04-16 10:43:25 -05:00
Stefan Miklosovic addec0ef7a
Merge branch 'cassandra-5.0' into trunk 2026-04-16 17:28:53 +02:00
Stefan Miklosovic 88dd2b2483
Increment version to 5.0.9 2026-04-16 17:28:19 +02:00
Francisco Guerrero 7c3dea92cf Avoid permission checks for masked columns when the table doesn't have any
patch by Francisco Guerrero; reviewed by Shailaja Koppu, Caleb Rackliffe, Dmitry Konstantinov for CASSANDRA-21299
2026-04-15 09:13:50 -07:00
Minal Kyada 4134d72a5a Reduce probability of intermittent failures in WriteWarningsSnapshotTest
Patch by Minal Kyada; reviewed by Sam Tunnicliffe and Caleb Rackliffe
for CASSANDRA-21263
2026-04-15 08:12:03 +01:00
C. Scott Andreas a657f4bef9 Reduce allocations and array copies due to buffer resizing in LocalDataResponse during row serialization
patch by C. Scott Andreas; reviewed by Caleb Rackliffe and Dmitry Konstantinov for CASSANDRA-21285

Co-authored-by: C. Scott Andreas <cscotta@users.noreply.github.com>
Co-authored-by: Caleb Rackliffe <calebrackliffe@gmail.com>
2026-04-14 08:49:27 -07:00
Benedict Elliott Smith 6a665f3ee4 InMemoryRangeIndex
Also Add:
 - txn_graph and txn_graph_all virtual tables for debugging transaction dependency graphs
 - txn_cache virtual table to debug accord cache contents
Also Fix:
 - NPE in AccordDebugKeyspace.TxnOpsTable
 - AccordCoordinatorMetrics latency metrics should use Timer not Histogram
 - OnDiskIndex.readLast
Also Improve:
 - Catchup should run after progress log is started
 - Cancelling AccordTask should early-terminate range scanning
 - Improve RangeTxnScanner description
 - Add ballot to txn tables
 - Add NodeId to logging output

patch by Benedict; reviewed by Alex Petrov for CASSANDRA-21306
2026-04-13 16:01:47 +01:00
Stefan Miklosovic 5fd8290157
Merge branch 'cassandra-5.0' into trunk 2026-04-13 10:51:11 +02:00
Stefan Miklosovic e7fa71efaa
Implement a guardrail for client driver versions
patch by Stefan Miklosovic; reviewed by Andy Tolbert, Bohdan Siryk for CASSANDRA-21146
2026-04-13 10:37:05 +02:00
Joel Shepherd 281c1dc92c
Enable IAuthenticator to declare supported and alterable role options
With negotiated authentication (CEP-50), nodes may be configured with multiple authenticators. Prior to this change,
a number of areas in the code assumed that there was a single configured authenticator and contained logic that
switched depending on the authenticator type. This logic won't work when multiple authenticators can be configured.
This change eliminates most calls to DataDescriptor.getAuthenticator(), by enabling individual authenticators to
declare the role attributes they support, requiring callers to specify the type of authenticator they're looking
for, and directly returning whether the node can enforce authn or not rather than inferring it by the presence of
an authenticator.

Testing done: Unit tests for auth and config packages; d-tests for auth-related functionality (e.g. ColumnMasks).

patch by Joel Shepherd; reviewed by Stefan Miklosovic, Andy Tolbert for CASSANDRA-20834
2026-04-12 22:15:49 +02:00
Dmitry Konstantinov ba2af93a99 ninja trunk patch for CASSANDRA-21289, forgot to commit a change after rebase 2026-04-12 13:55:42 +01:00
Dmitry Konstantinov b09bc8b8b0 Avoid capturing lambda allocation in UnfilteredSerializer.deserializeRowBody
The same idea was applied previously in UnfilteredSerializer#serializeRowBody. A state is passed into a consumer function using the existing helper object.

patch by Dmitry Konstantinov; reviewed by Caleb Rackliffe, Francisco Guerrero for CASSANDRA-21289
2026-04-12 12:54:21 +01:00
Dmitry Konstantinov 9bcdf5d746 Avoid Cell iterator for alive rows in MetricsRecording transformation of ReadCommand
patch by Dmitry Konstantinov; reviewed by Francisco Guerrero for CASSANDRA-21288
2026-04-12 09:42:31 +01:00
Francisco Guerrero 536504969c Reuse a single TrackedDataInputPlus instance per UnfilteredSerializer
patch by Francisco Guerrero; reviewed Dmitry Konstantinov, Caleb Rackliffe for CASSANDRA-21296
2026-04-11 10:46:59 -07:00
Karol Baryła 8ec80e7a21 drivers.adoc: Replace Rust CQL with Scylla Rust Driver
Rust CQL did not have any commits in 9 years. It doesn't even support
protocol V4, and most of the features that a user could expect from the
driver - like load balancing or pagination. No reasonable app would use
it in production.

This commit replaces it with Scylla Rust Driver on the page with
recommended drivers. Scylla Rust Driver is actively developed and
feature-rich. Even though it is primarily developed for Scylla, we do
always make sure it is also compatible with Cassandra and tested with
it.
2026-04-10 17:49:31 -07:00
Nikita Eshkeev 515cb0e1c2 Fix paths to images
Signed-off-by: Nikita Eshkeev <kastolom@gmail.com>
2026-04-10 17:48:41 -07:00
Patrick McFadin bac42412e3 Clarify keyspace-level index name uniqueness in warning admonition
The original second sentence implied per-table scope, which contradicted
the first sentence. Replaced with explicit keyspace-scope wording and
removed the redundant vector/non-vector qualifier.
2026-04-10 17:46:27 -07:00
Lorina Poland 4410419d14 add index naming note to clarify
Author: Lorina Poland (polandll); Reviewed by Mick Semb Wever (mck) - no ticket
2026-04-10 17:46:27 -07:00
Patrick McFadin 7e74f4bdb8 Clarify keyspace-level index name uniqueness in warning admonition
The original second sentence implied per-table scope, which contradicted
the first sentence. Replaced with explicit keyspace-scope wording and
removed the redundant vector/non-vector qualifier.
2026-04-10 17:45:56 -07:00
Lorina Poland 3728253fff add index naming note to clarify
Author: Lorina Poland (polandll); Reviewed by Mick Semb Wever (mck) - no ticket
2026-04-10 17:45:56 -07:00
Lorina Poland 05186d7869 Add trie memtable docs-storage engine, create and alter table; revised per blambov's comments.
Authored by Lorina Poland (polandll); Reviewed by Branimir Lambov (blambov) for CASSANDRA-18236
2026-04-10 16:52:06 -07:00
Nicholas fa1afe8891 Update data-modeling_logical.adoc
Fix images in data-modeling_logical.adoc
2026-04-10 16:49:24 -07:00
Shanzita 73e195c4ab CASSANDRA-13342: Document failure reason codes in native protocol v5 spec 2026-04-10 15:24:04 -07:00
Ayantika19 f79e8b3a0d CASSANDRA-18868 Added documentation of granting permissions for all tables in a keyspace 2026-04-10 15:23:01 -07:00
Amritpal Singh 4c0a2e59ad Update data-modeling_schema.adoc
Remember that for set and list collections, you need to specify the element type inside the angle brackets (<>). For map, you need to specify both the key type and value type separated by a comma.
2026-04-10 15:21:43 -07:00
Amritpal Singh 1f9ac53b75 Update data-modeling_schema.adoc
The SQL statement you provided for creating a table in Cassandra has a small syntax issue with the comment. In Cassandra, comments should be enclosed in single quotes (') and preceded by the keyword WITH. Additionally, the comment text should be properly formatted
2026-04-10 15:20:21 -07:00
misterderpie 2c99e53f2b Fix formatting on Storage Engine Documentation
Documentation/Storage Engine - Markdown Render Misformat Fix

patch by Matthias Doepmann
2026-04-10 15:19:30 -07:00
arvindksi274-ksolves 0742f15f10 CASSANDRA-21291: Fix duplicate section and minor formatting typos in compaction overview 2026-04-10 15:07:38 -07:00
arvindksi274-ksolves a4045c3fdd CASSANDRA-21291: Fix duplicate section and minor formatting typos in compaction overview 2026-04-10 15:07:17 -07:00
0xbad0c0d3 aec3d90ce4 Fix typo in SAI index documentation 2026-04-10 15:06:22 -07:00