Commit Graph

911 Commits

Author SHA1 Message Date
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
Brandon Williams 7cbf59e9a1 Merge branch 'cassandra-4.0' into cassandra-4.1 2024-04-03 16:50:43 -05:00
Brandon Williams f0aa6744d2 Merge branch 'cassandra-3.11' into cassandra-4.0 2024-04-03 16:49:35 -05:00
Tibor Répási 338e4ed618 Docs: deprecate the usage of apt-key and adopt distribution name
Patch by Tibor Répási; reviewed by brandonwilliams for CASSANDRA-19110
2024-04-03 16:48:06 -05:00
Lorina Poland 2aa2b59d37
Minor adds and fixes in the documentation
patch by Lorina Poland; reviewed by Michael Semb Wever for CASSANDRA-19249, CASSANDRA-18990, CASSANDRA-15719

Co-authored-by: Annette Dennis <annette.dennis@datastax.com>
Co-authored-by: Mohsin Medmood <mohsin85mehmood@gmail.com>
Co-authored-by: Josh Wong <joshuarwong@outlook.com>
2024-02-16 12:29:37 +01:00
Lorina Poland 0f2da96c6c
Dynamic Data Masking cleanup language, rearrange code examples.
patch by Lorina Poland; reviewed by Stefan Miklosovic for CASSANDRA-18230
2024-02-16 09:51:51 +01:00
Ekaterina Dimitrova e3ce316cce Fix java17.adoc page
patch by Ekaterina Dimitrova; reviewed by Brandon Williams for CASSANDRA-19337
2024-01-29 18:43:00 -05:00
Andrés de la Peña 8fd44ca8fc Upgrade Python driver to 3.29.0
patch by Andrés de la Peña; reviewed by Berenguer Blasi for CASSANDRA-19245
2024-01-19 17:14:57 +00:00
Lorina Poland 93a4fcd32c
Rewrite compaction documentation, adding UCS
Adds some SAI/Vector doc fixes too.

 patch by Lorina Poland, Branimir Lambov; reviewed by Mick Semb Wever for CASSANDRA-18232
2023-12-08 22:54:23 +01:00
Stefan Miklosovic bee4b187e7
various fixes in SAI documentation and vector search documentation
patch by Stefan Miklosovic; reviewed by Lorina Poland, Michael Semb Wever for CASSANDRA-19030
2023-11-20 14:30:42 +01:00
Jackson Fleming f347c58efa
Fix vector quickstart documentation example CQL
patch by Jackson Fleming, reviewed by Lorina Poland, Mick Semb Wever for CASSANDRA-19030
2023-11-16 20:09:51 -08:00
Andrés de la Peña b91c0fcb6e Change cqlsh's min required Python version from 3.6+ to 3.7+
patch by Andrés de la Peña; reviewed by Brandon Williams for CASSANDRA-18960
2023-11-14 11:43:00 +00:00
Bereng 0e4c2f4bef Default to nb instead of nc for sstable formats
patch by Berenguer Blasi; reviewed by Francisco Guerrero, Jacek Lewandowski, Michael Semb Wever for CASSANDRA-19010
2023-11-13 09:26:11 +01:00
Lorina Poland 709ae29fd8
Docs: Fix vsearch missing files
Remove Accord from What's New. Add missing reference files for create/drop table and partials. Add missing examples.

 patch by Lorina Poland; reviewed by Mick Semb Wever for CASSANDRA-18604
2023-11-10 10:12:48 +01:00
Stefan Miklosovic 8c273ced5b
Add documentation about crypto providers
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-18996
2023-11-03 14:01:05 +01:00
Stefan Miklosovic 6cdec7c6b8
Improve documentation for snitches
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-18995
2023-11-03 12:35:29 +01:00
Lorina Poland 7463a7a977
Vector similarity search docs (CEP-30)
Add example files and partials for reference commands that are added to support vector search.

 patch by Lorina Poland; reviewed by Mick Semb Wever for CASSANDRA-18604
2023-10-31 11:38:41 +01:00
Stefan Miklosovic b59b832eba
Remove crc_check_chance from CompressionParams
patch by Stefan Miklosovic; reviewed by Maxwell Guo, Jacek Lewandowski, Branimir Lambov for CASSANDRA-18872
2023-10-26 22:38:21 +02:00