Commit Graph

928 Commits

Author SHA1 Message Date
Brandon Williams 6243a1a93c ninja: restore doc/antora.yml 2026-04-16 10:43:25 -05: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
Nicholas fa1afe8891 Update data-modeling_logical.adoc
Fix images in data-modeling_logical.adoc
2026-04-10 16:49:24 -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
arvindksi274-ksolves 0742f15f10 CASSANDRA-21291: Fix duplicate section and minor formatting typos in compaction overview 2026-04-10 15:07:38 -07:00
0xbad0c0d3 aec3d90ce4 Fix typo in SAI index documentation 2026-04-10 15:06:22 -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 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 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
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 5ea935d6b8
Merge branch 'cassandra-4.1' into cassandra-5.0 2025-11-07 14:04:21 +01:00
Stefan Miklosovic 7b312d4329
Merge branch 'cassandra-4.0' into cassandra-4.1 2025-11-07 13:57:43 +01:00
Ruslan Fomkin 2d7e99f7b9
Document new table name length limit
CASSANDRA-20389 implemented limit on table name length of 222
characters. This commit updates the documentation to reflect this.

It also adds an assert in CreateTableValidationTest to ensure that the
documented limit matches the actual constant.

patch by Ruslan Fomkin; reviewed by Brad Schoening, Dmitry Konstantinov for CASSANDRA-20914
2025-11-07 13:54:03 +01:00
Stefan Miklosovic 902ef57fa3
Merge branch 'cassandra-4.1' into cassandra-5.0 2025-08-08 08:39:05 +02:00
Stefan Miklosovic 62150b08d5
Merge branch 'cassandra-4.0' into cassandra-4.1 2025-08-08 08:36:37 +02:00
Serban Teodorescu f4eb55097e
Add documentation for tombstone threshold metrics
patch by Serban Teodorescu; reviewed by Stefan Miklosovic for CASSANDRA-20803
2025-08-08 08:33:51 +02:00
k7krishnar f61a1cb58b
Fix typo in audit_logging.adoc 2025-08-08 08:26:29 +02:00
Dmitry Konstantinov 3969de6524
Mark JDK 17 as production ready
patch by Dmitry Konstantinov; reviewed by Michael Semb Wever, Stefan Miklosovic for CASSANDRA-20681
2025-06-02 12:15:59 +02:00
Andy Tolbert e90fece187 Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Ensure prepared_statement INSERT timestamp precedes eviction DELETE
2025-05-27 22:29:40 -05:00
Andy Tolbert 9c308ce2f3 Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Ensure prepared_statement INSERT timestamp precedes eviction DELETE
2025-05-27 22:22:41 -05:00
Andy Tolbert d077f69553 Ensure prepared_statement INSERT timestamp precedes eviction DELETE
Updates SystemKeyspace.writePreparedStatement to accept a timestamp
associated with the Prepared creation time. Using this timestamp
will ensure that an INSERT into system.prepared_statements will
always precede the timestamp for the same Prepared in
SystemKeyspace.removePreparedStatement.

This is needed because Caffeine 2.9.2 may evict an entry as soon
as it is inserted if the maximum weight of the cache is exceeded
causing the DELETE to be executed before the INSERT.

Additionally, any clusters currently experiencing a leaky
system.prepared_statements table from this bug may struggle to
bounce into a version with this fix as
SystemKeyspace.loadPreparedPreparedStatements currently does
not paginate the query to system.prepared_statements, causing heap
OOMs.  To fix this this patch adds pagination at 5000 rows and
aborts loading once the cache size is loaded. This should allow
nodes to come up and delete older prepared statements that may no
longer be used as the cache fills up (which should happen immediately).

This patch does not address the issue of Caffeine immediately evicting
a prepared statement, however it will prevent the
system.prepared_statements table from growing unbounded.  For most users
this should be adequate, as the cache should only be filled when there
are erroneously many unique prepared statements. In such a case we can
expect that clients will constantly prepare statements regardless
of whether or not the cache is evicting statements.

patch by Andy Tolbert; reviewed by Berenguer Blasi and Caleb Rackliffe for CASSANDRA-19703
2025-05-27 22:17:15 -05:00
mck 1066f6a427
Remove auto-installation of golang when generating native protocol doc pages
patch by Mick Semb Wever; reviewed by Štefan Miklošovič for CASSANDRA-20678
2025-05-26 14:39:58 +02:00
Jon Haddad 80224a9767 Improved UCS docs with migration advice and example workloads.
Patch by Jon Haddad for CASSANDRA-19389
2025-05-02 12:15:36 -07:00
Madhavan Sridharan 270839ddef
ninja-fix – cqlversion in docker quickstart doc
patch by Madhavan Sridharan; reviewed by Mick Semb Wever
2025-04-08 16:08:01 +02:00
Stefan Miklosovic 0c9d368e09
Merge branch 'cassandra-4.1' into cassandra-5.0 2025-04-07 10:14:56 +02:00
Stefan Miklosovic 93e77182d5
Merge branch 'cassandra-4.0' into cassandra-4.1 2025-04-07 10:12:50 +02:00
pranavchaurasia18 07bbf2cd97
Docs should mention that cassandra.yaml should be secure
patch by Pranav Chaurasia; reviewed by Stefan Miklosovic for CASSANDRA-18297
2025-04-07 10:11:37 +02:00
Sarma Pydipally 38f3afcd42
Several doc fixes, particularly developing/cql/ , developing/data-modeling/ and managing/
patch by Sarma Pydipally; reviewed by Bernardo Botella, Brad Schoening, Mick Semb Wever for CASSANDRA-20170
2025-04-05 12:58:13 +02: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
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
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
maoling e16f30c587
Improve Go download when building source code
patch by Ling Mao; reviewed by Stefan Miklosovic, Michael Semb Wever for CASSANDRA-20422

Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
2025-03-17 19:06:07 +01:00
tengu-alt 17de6a67a2
Autogenerate Native protocol specifications documentation
Uses cqlprotodoc from cassandra-website to generate the versioned native protocol spec html pages.
Uses process-native-protocol-specs-in-docker.sh as a wrapper around this to also generate the native protocol spec adoc page  that includes all the versions and makes each header navigable. This is executed as part of the existing `ant gen-asciidoc` and doc/Makefile.

 patch by Olexandr Luzhniy; reviewed by Mick Semb Wever for CASSANDRA-19915
2025-02-24 21:05:24 +01:00
Brad Schoening 2a623b6cf3
Fix asciidoc markup in cql_singlefile.adoc
patch by Brad Schoening; reviewed by Michael Semb Wever for CASSANDRA-20195
2025-01-25 12:01:30 +01:00
tengu-alt a0d58a9ce8
Fix the reference list in the docs' nav bar
patch by Oleksandr Luzhniy; reviewed by Mick Semb Wever, Bernardo Botella for CASSANDRA-20201
2025-01-15 13:13:58 +01:00
mck ea79f7b13f
ninja-fix – 5.0 docs are not preview anymore 2025-01-03 11:48:25 +01:00
Brad Schoening ac36ddd7f6
added summary to storage-engine doc
patch by Brad Schoening; reviewed by Mick Semb Wever for CASSANDRA-19640
2025-01-02 16:38:08 +01:00
vsricharan16 0e7bd24f5c
Fix typo in UNLOGGED BATCH section of CQL DML page
patch by V Sri Charan Reddy ; reviewed by Erick Ramirez for CASSANDRA-17846
2025-01-02 16:29:36 +01:00
mck 4354feef91
Fix nodetool docs page
patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-20030
2025-01-02 16:07:16 +01:00
Sarma Pydipally 227d294986
Typo in storage-engine.adoc
patch by Sarma Pydipally; reviewd by Bernardo Botella, Mick Semb Wever for CASSANDRA-20168
2024-12-31 15:21:31 +01:00
Caleb Rackliffe e9a82df1f3 Correct out-of-date metrics and configuration documentation for SAI
patch by Caleb Rackliffe; reviewed by Jon Haddad for CASSANDRA-19898
2024-09-19 14:38:48 -05:00
Stefan Miklosovic 10a98fe5aa
Merge branch 'cassandra-4.1' into cassandra-5.0 2024-07-15 15:40:22 +02:00
Jackson Fleming 891e65e251
Fix rendering issues in cassandra.yaml for gen-asciidoc target
patch by Jackson Fleming; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-19767
2024-07-15 14:49:22 +02:00
Stefan Miklosovic 59a5c6477d
Merge branch 'cassandra-4.1' into cassandra-5.0 2024-05-14 11:31:40 +02:00
Мещеряков Вячеслав Юрьевич d1f2936ccb
Support legacy plain_text_auth section in credentials file removed unintentionally
patch by Мещеряков Вячеслав Юрьевич; reviewed by Stefan Miklosovic and Brad Schoening for CASSANDRA-19498
2024-05-14 10:07:19 +02:00
Brandon Williams 973aad7b68 Merge branch 'cassandra-4.1' into cassandra-5.0 2024-04-03 17:01:32 -05:00