Commit Graph

1076 Commits

Author SHA1 Message Date
Patrick McFadin 32826fe563 CASSANDRA-21342: Fix broken Antora xref/anchor targets in cassandra docs
Resolve broken cross-module xrefs and image/anchor targets across the
cassandra docs tree. Companion to apache/cassandra-website#319 (merged
2026-05-13) under the same JIRA umbrella.

 patch by Patrick McFadin; reviewed by Brandon Williams for CASSANDRA-21342
2026-05-14 10:29:29 -07:00
Alan Wang 8fd2443afc Fix single token batch atomicity with Accord/non-Accord batches by using the batch log
patch by Alan Wang; reviewed by Ariel Weisberg, David Capwell for CASSANDRA-20588
2026-04-29 11:37:10 -07: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
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
PJ Fanning 4f59364417 Update link to Apache Archives for earlier Cassandra versions 2026-04-10 15:05:09 -07:00
Brad Schoening a9eaa0bea0 Update wording and fix a few typos 2026-04-10 14:05:36 -07: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
Shanzita 18b4c186fe CASSANDRA-21218: Fix typos in documentation 2026-04-10 08:48:11 -07: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 d2bdb2ffa8
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Autogenerate the doc antora.yml
2026-04-08 15:24:07 +02:00
mck 0807210572
Autogenerate the doc antora.yml
patch by Mick Semb Wever; reviewed by Anthony Grasso for CASSANDRA-17375
2026-04-08 15:19:40 +02:00
mck 6590cb5aaf
Change trunk from 5.1 to 6.0
patch by Mick Semb Wever; reviewed by Dmitry Konstantinov for CASSANDRA-21243
2026-03-21 22:55:40 +01:00
mck ee273af1d6
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Add option to disable cqlsh history
2026-03-17 23:09:49 +01:00
mck be0b73ecba
Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Add option to disable cqlsh history
2026-03-17 23:08:14 +01:00
mck ec39ef3193
Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Add option to disable cqlsh history
2026-03-17 23:06:38 +01:00
Ekaterina Dimitrova b47179b7d4
Add option to disable cqlsh history
We can disable saving of the history either via command-line parameter --disable-history, or by setting disabled = True in the history section of the cqlshrc. Both options will read existing history, and just won't save new commands.

Update help and docs for cqlsh history.
Add startup info logline whenr history logging is enabled.
Add a fix for cqlshrc file path not correctly expanding.

Includes the Backport of
  Allows users to change cqlsh history location using env variable
  patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-17448

patch by Ekaterina Dimitrova; reviewed by Mick Semb Wever for CASSANDRA-XXX

Co-authored-by: Alex Ott alex.ott@datastax.com
Co-authored-by: Jaroslaw Grabowski jaroslaw.grabowski@datastax.com
2026-03-17 23:01:57 +01:00
Brad Schoening cdb67f62ff CASSANDRA-20573 added JDBC to drivers documentation page
patch by Brad Schoening; reviewed by Bernardo Botella for CASSANDRA-20573
2026-03-11 14:06:24 -05:00
Stefan Miklosovic 9303ca04de
Introduce a check for minimum time to pass to train or import a compression dictionary from the last one
patch by Stefan Miklosovic; reviewed by Yifan Cai for CASSANDRA-21179
2026-02-26 09:43:40 +01:00
Stefan Miklosovic 3fc830a19c
Be able to detect and remove orphaned compression dictionaries
patch by Stefan Miklosovic; reviewed by Yifan Cai for CASSANDRA-21157
2026-02-17 11:07:49 +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
Suhel0328 30a200c39f Update docs to reflect supported query operators in SAI
patch by Suhel Mohammad; reviewed by Caleb Rackliffe for CASSANDRA-19829
2026-02-05 17:57:53 -06:00
Stefan Miklosovic 3dd460bf34
Remove traces of sampling and auto training for Zstd dictionary compression
This is unnecessary code as the current implementation of CEP-54 is not implemeting / exercising these features.

patch by Stefan Miklosovic; reviewed by Yifan Cai for CASSANDRA-21154
2026-02-05 22:27:18 +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
Yaman Ziadeh 7c3c3a1d86 Initial async-profiler Nodetool implementation
patch by Yaman Ziadeh, Bernardo Botella, Stefan Miklosovic; reviewed by Dmitry Konstantinov, Jyothsna Konisa for CASSANDRA-20854
2026-01-12 15:02:13 -08:00
Stefan Miklosovic 98ec8970e1
Move training parameters for Zstd dictionary compression to CQL
It is also possible to override them via nodetool if necessary.

This patch also fixes the computation of sampling ratio to not lose the precision.

patch by Stefan Miklosovic; reviewed by Jyothsna Konisha, Yifan Cai for CASSANDRA-21078
2026-01-07 16:21:47 +01:00
Brad Schoening e1699eb3a2 Update and syncronize cql_singlefile.adoc with CQL.textile updates
patch by Brad Schoening; reviewed by Jyothsna Konisa for CASSANDRA-20405
2025-12-15 23:08:12 -05:00
Brad Schoening 756af29b7a Update and syncronize cql_singlefile.adoc with CQL.textile updates.
patch by Brad Schoening; reviewed by Jyothsna Konisa for CASSANDRA-20405
2025-12-15 23:02:53 -05:00
Arra, Praveen R ba9790a6f0 Updated documentation on tombstones with examples
Patch by Arra Praveen; reviewed by Jyothsna Konisa, Brad Schoening for CASSANDRA-20800
2025-12-12 10:04:56 -08:00
jkonisa b11633be4f CASSANDRA-20943 Introducing comments and security labels for schema elements 2025-11-19 11:32:50 -08:00
Stefan Miklosovic 136e5fd222
Add export, list, import sub-commands for nodetool compressiondictionary
patch by Stefan Miklosovic; reviewed by Yifan Cai for CASSANDRA-20941
2025-11-13 15:38:42 +01:00
Arvind Kandpal cf8050393c ninja: fix typo in NoOpAuditLogger description 2025-11-13 15:44:44 +08:00
Stefan Miklosovic f0cb7f1c1a
Merge branch 'cassandra-5.0' into trunk 2025-11-07 14:09:41 +01:00