Commit Graph

336 Commits

Author SHA1 Message Date
jaydeepkumar1984 58d1cc9b1e Increasing default for auto_repair.sstable_upper_threshold considering large Cassandra tables 2025-04-29 09:36:19 -05:00
Nikolay Izhikov fc97fd1037
Upgrade logback version to 1.5.18 and slf4j dependencies to 2.0.17
patch by Nikolay Izhikov; reviewed by Stefan Miklosovic, Maxim Muzafarov, Brandon Williams for CASSANDRA-20429
2025-04-25 14:24:35 +02:00
jaydeepkumar1984 6753fb49dc Automated Repair Inside Cassandra for CEP-37
patch by Jaydeepkumar Chovatia; reviewed by Andy Tolbert, Chris Lohfink, Francisco Guerrero, Kristijonas Zalys for CASSANDRA-19918
2025-04-23 11:04:36 -05:00
Stefan Miklosovic 8fcf309dad
Implement appender of slow queries to system_views.slow_queries table
patch by Stefan Miklosovic; reviewed by Dmitry Konstantinov, Bernardo Botella for CASSANDRA-13001
2025-04-23 09:28:22 +02:00
Brad Schoening 2e602ec972 Merge branch 'CASSANDRA-19631e' into trunk 2025-04-21 18:46:54 -04:00
Naren Sreedhara 91bc34fbf8 Added tab-ahead support for new built-in functions
patch by Brad Schoening, Naren Sreedhara; reviewed by Stefan Miklosovic, Bernardo Botella Corbi for CASSANDRA-19631
2025-04-21 18:32:49 -04:00
Alex Petrov fa1157203f Add initial Accord Overview Doc
Patch by Alex Petrov; reviewed by Benedict Elliott Smith for CASSANDRA-20393.
2025-04-17 11:59:55 -07:00
Caleb Rackliffe 1c87bb96ed Baseline Diagnostic vtables for Accord
patch by Caleb Rackliffe; reviewed by David Capwell and Ariel Weisberg for CASSANDRA-18732
2025-04-17 11:59:50 -07:00
mck 2039ef7658
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  ninja-fix – cqlversion in docker quickstart doc
2025-04-08 16:09:20 +02: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 5ccb3fd215
Merge branch 'cassandra-5.0' into trunk 2025-04-07 10:16:15 +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
mck bfea5446d7
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Several doc fixes, particularly developing/cql/ , developing/data-modeling/ and managing/
2025-04-05 12:58:48 +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
Stefan Miklosovic 35ea72b718
Merge branch 'cassandra-5.0' into trunk 2025-03-25 10:13:38 +01: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
Mick Semb Wever 9ac8a1fa98
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Fix typo on architecture/overview.adoc
2025-03-24 11:52:17 +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
Mick Semb Wever 4276722866
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Fix reference nav section in in-tree docs
2025-03-21 11:15:02 +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
Stefan Miklosovic 02d71cee45
Add support for time, date, timestamp types in scalar constraint
patch by Stefan Miklosovic; reviewed by Bernardo Botella for CASSANDRA-20274
2025-03-20 21:03:55 +01:00
Arra, Praveen R 12c061b3bb
Updated documentation with additional function examples
patch by Arra Praveen; reviewed by Stefan Miklosovic for CASSANDRA-20254
2025-03-20 11:16:18 +01:00
Stefan Miklosovic 85b25f2256
Add regular expression constraint
patch by Stefan Miklosovic; reviewed by Bernardo Botella for CASSANDRA-20275
2025-03-14 17:13:00 +01:00
Maxwell Guo 3fb88e0f9d Add missed documentation for CREATE TABLE LIKE
patch by Maxwell guo; reviewed by Brad Schoening and Michael Semb Wever for CASSANDRA-20491
2025-03-07 16:27:39 +08:00
Bernardo Botella Corbi 58b7ebfa4b Add OCTET_LENGTH constraint
patch by Bernardo Botella; reviewed by Stefan Miklosovic for CASSANDRA-20340
2025-03-05 10:12:52 -08:00
maulin-vasavada 37fe4b679c
Provide keystore_password_file and truststore_password_file options to read credentials from a file
patch by Maulin Vasavada; reviewed by Stefan Miklosovic, Maxwell Guo for CASSANDRA-13428
2025-03-04 12:33:41 +01:00
Stefan Miklosovic a51344c611
Add JSON constraint
patch by Stefan Miklosovic; reviewed by Bernardo Botella for CASSANDRA-20273
2025-02-26 16:08:13 +01:00
Maxwell Guo 989f0414b7 Support CREATE TABLE LIKE with INDEXES
patch by Maxwell Guo; reviewed by Stefan Miklosovic, Sam Tunnicliffe for CASSANDRA-19965
2025-02-26 16:14:43 +08:00
Mick Semb Wever 8892fac745
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Autogenerate Native protocol specifications documentation
2025-02-24 21:06:27 +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
Sarma Pydipally b854fa3e22
Replace some of existing images with ones having better look and resolution
patch by Sarma Pydipally; reviewed by Bernardo Botella, Stefan Miklosovic, Mick Semb Wever for CASSANDRA-20169
2025-02-24 10:45:40 +01:00
Brad Schoening 486a627603
Fix escaping and correct some language syntax in definitions.adoc
patch by Brad Schoening; reviewed by Stefan Miklosovic for CASSANDRA-20203
2025-02-21 21:41:10 +01:00
Brad Schoening 8cd52f18a6
Improve documentation in cql_singlefile.adoc
patch by Brad Schoening; reviewed by Stefan Miklosovic for CASSANDRA-20354
2025-02-21 21:29:05 +01:00
Stefan Miklosovic 1630ef2cec
Implement NOT_NULL constraint
patch by Stefan Miklosovic; reviewed by Bernardo Botella, Dinesh Joshi for CASSANDRA-20276

Co-authored-by: Bernardo Botella <bernardo.botella@apple.com>
2025-02-17 09:06:33 +01:00
Chris Lohfink 69dc5d05ef
Add system_views.partition_key_statistics for querying SSTable metadata
patch by Chris Lohfink; reviewed by David Capwell, Stefan Miklosovic for CASSANDRA-20161
2025-02-05 12:49:31 +01:00
Brad Schoening 8d525de550
Remove obsolete CAPI-Rowcache and updated Lucene Indexing Plugin
patch by Brad Schoening; reviewed by Stefan Miklosovic for CASSANDRA-19773
2025-01-31 11:51:14 +01:00
Bernardo Botella Corbi 5cbf993d96
CEP-42 - Add Constraints Framework
patch by Bernardo Botella; reviewed by Yifan Cai, Stefan Miklosovic, Josh McKenzie, Maxwell Guo, Dmitry Konstantinov, Sam Tunnicliffe for CASSANDRA-19947
2025-01-31 10:49:11 +01:00
Dmitry Konstantinov d7258ac8f3
Add table metric PurgeableTombstoneScannedHistogram and a tracing event for scanned purgeable tombstones
patch by Dmitry Konstantinov; reviewed by Chris Lohfink, Stefan Miklosovic for CASSANDRA-20132
2025-01-27 22:10:20 +01:00
mck f6a20b0e91
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Fix asciidoc markup in cql_singlefile.adoc
2025-01-25 12:01:51 +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
Stefan Miklosovic ba4a0d4fcb
Add format_bytes and format_time functions
patch by Stefan Miklosovic; reviewed by Jordan West for CASSANDRA-19546

Co-authored-by: Cheng Wang <chengw@netflix.com>
2025-01-24 09:47:12 +01:00
Joseph Lynch 0d39ea4917
Support octet_length and length functions
Previously users would either have to read the data and check the length
themselves or enable UDF and register UDFs to check the length of
columns. This patch adds a subset of the SQL99 (binary) string
functions: "octet_length" defined on all types and "length" defined on
UTF8 strings.

patch by Joey Lynch; reviewed by Chris Lohfink and Jordan West for CASSANDRA-20102
2025-01-22 11:59:23 +01:00
mck 33feca3d84
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Fix the reference list in the docs' nav bar
2025-01-15 13:14:35 +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
Maxwell Guo 46ef00a315
Implementation of CEP-43
patch by Maxwell Guo; reviewed by Stefan Miklosovic, Benjamin Lerer for CASSANDRA-19964
2025-01-14 21:47:11 +01:00
mck 4c98a6999d
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  added summary to storage-engine doc
2025-01-02 16:39:07 +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
mck 4b7915c66f
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Fix typo in UNLOGGED BATCH section of CQL DML page
2025-01-02 16:30:42 +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 57e5cdfb59
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Typo in storage-engine.adoc
2024-12-31 15:45:00 +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
Maulin Vasavada 9131be9fa5
Make JMX SSL configurable in cassandra.yaml
patch by Maulin Vasavada; reviewed by Stefan Miklosovic, Doug Rohrer for CASSANDRA-18508
2024-11-23 10:40:13 +01:00
Sunil Ramchandra Pawar 85048b2019 Add post-filtering support for the IN operator in SAI queries
patch by Sunil Ramchandra Pawar; reviewed by Caleb Rackliffe and Ekaterina Dimitrova
2024-11-12 10:33:45 -06:00
Stefan Miklosovic b11909b611
Make sstabledump possible to show tombstones only
patch by Stefan Miklosovic; reviewed by Brad Schoening for CASSANDRA-19939
2024-09-26 09:52:01 +02:00
Caleb Rackliffe 79998d0b96 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Correct out-of-date metrics and configuration documentation for SAI
2024-09-19 14:55:23 -05: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
Benjamin Lerer e0074a31ef Add support for NOT operators in WHERE clauses (CASSANDRA-18584)
In addition - Fixed Three Valued Logic

patch by Piotr Kolaczkowski; reviewed by Benjamin Lerer, Ekaterina Dimitrova, Andres de la Pena for CASSANDRA-18584

Co-authored-by: Benjamin Lerer <b.lerer@gmail.com>
Co-authored by: Ekaterina Dimitrova<ekaterina.dimitrova@datastax.com>
2024-08-29 20:52:55 -04:00
Bernardo Botella ca729f6fad CASSANDRA-19685 - Add auto_hints_cleanup_enabled to web documentation
patch by Bernardo Botella; reviewed by Francisco Guerrero, Yifan Cai for CASSANDRA-19685
2024-07-19 10:28:11 -07:00
Stefan Miklosovic d336dda112
CEP-24 Password validation / generation
patch by Stefan Miklosovic; reviewed by Dinesh Joshi, Francisco Guerrero for CASSANDRA-17457
2024-07-08 23:32:09 +02:00
Brad Schoening 7f1c0e9e76 removed unsupported drivers 2024-06-26 20:55:30 +02:00
xvade 53fabf1f02 Add support for the BETWEEN operator in WHERE clauses
patch by Simon Chess; reviewed by Benjamin Lerer and Ekaterina Dimitrova for CASSANDRA-19604
2024-06-06 17:55:08 +02:00
Stefan Miklosovic 7579454057
Merge branch 'cassandra-5.0' into trunk 2024-05-14 11:33:40 +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
Abe Ratnofsky 8d705b31e9
Add new TriggersPolicy configuration to allow operators to disable triggers
patch by Abe Ratnofsky; reviewed by Stefan Miklosovic and Sam Tunnicliffe for CASSANDRA-19532
2024-04-16 11:09:33 +02:00
Brandon Williams 2944d77aac Merge branch 'cassandra-5.0' into trunk 2024-04-03 17:02:12 -05: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
Maxim Muzafarov 2e7def7626 Expose all dropwizard metrics in virtual tables
patch by Maxim Muzafarov; reviewed by Chris Lohfink, Stefan Miklosovic for CASSANDRA-14572
2024-04-03 20:04:03 +02:00
Shailaja Koppu b35ad427c5
Add LIST SUPERUSERS CQL statement
patch by Shailaja Koppu; reviewed by Stefan Miklosovic and Benjamin Lerer for CASSANDRA-19417
2024-03-13 12:52:46 +01:00
Stefan Miklosovic 087a4474d8
Remove native_transport_port_ssl
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-19397
2024-02-19 09:24:56 +01:00
Stefan Miklosovic 3c76ae2a45
Merge branch 'cassandra-5.0' into trunk 2024-02-16 13:36:38 +01: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
Stefan Miklosovic 3483fc0683
Merge branch 'cassandra-5.0' into trunk 2024-02-16 10:08:44 +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
Andy Tolbert 4120b8ce4f
Expose auth mode in system_views.clients, nodetool clientstats, metrics
Adds 'authenticationMode' and 'metadata' fields to AuthenticatedUser to add context
about how the user was authenticated and updates system_views.clients,
nodetool clientstats (behind --verbose flag) to include this information.

Also adds new metrics to ClientMetrics to help operators identify which
authentication modes are being used.

patch by Andy Tolbert; reviewed by Francisco Guerrero, Stefan Miklosovic for CASSANDRA-19366
2024-02-13 12:03:06 +01:00
Aleksei Zotov 64e2a4e9a3
Refactor structure of caching metrics and expose auth cache metrics via JMX
patch by Aleksei Zotov; reviewed by Stefan Miklosovic, Maxim Muzafarov for CASSANDRA-17062

Co-authored-by: Sam Tunnicliffe <samt@apache.org>
Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
2024-02-08 10:49:56 +01:00
Ekaterina Dimitrova dadf850ce2 Merge branch 'cassandra-5.0' into trunk 2024-01-29 18:47:53 -05: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
Stefan Miklosovic 37acd27f2d
Extend nodetool tpstats and system_views.thread_pools with detailed pool parameters
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-19289
2024-01-29 16:02:56 +01:00
fibersel c5a023a204
Improve documentation for snapshots
patch by Abi Palagashvili; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-16887

Co-authored-by: akihiro17 <akihiro17@users.noreply.github.com>
Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
2024-01-25 16:25:18 +01:00
Andrés de la Peña 03f0d37cb0 Merge branch 'cassandra-5.0' into trunk 2024-01-19 17:33:55 +00: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
Jyothsna Konisa bfcb21fbeb Set right client auth for creating SSL context in mTLS optional mode
patch by Jyothsna Konisa; reviewed by Francisco Guerrero, Jon Meredith for CASSANDRA-18811
2023-12-19 13:54:28 -07:00
Mick Semb Wever c069a0ffb6
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Rewrite compaction documentation, adding UCS
2023-12-08 23:39:13 +01: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 1463fabac3
Merge branch 'cassandra-5.0' into trunk 2023-11-20 14:31:57 +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
Mick Semb Wever ac0347bfa0
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Fix vector quickstart documentation example CQL
2023-11-16 20:10:28 -08: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 a77951ec0c Merge branch 'cassandra-5.0' into trunk 2023-11-14 11:48:35 +00: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 0a09c12975 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Default to nb instead of nc for sstable formats
2023-11-13 09:29:03 +01: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
Mick Semb Wever c62de1b248
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Docs: Fix vsearch missing files
2023-11-10 10:50:12 +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
Mick Semb Wever 7377d5501d
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Vector similarity search docs (CEP-30)
2023-10-31 11:39:19 +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 f8c240147c
Merge branch 'cassandra-5.0' into trunk 2023-10-26 22:39:44 +02: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
Mick Semb Wever 91f5562241
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  ninja-fix remove all DSE references
2023-10-12 09:22:51 +02:00
Lorina Poland 45cf5edb37
ninja-fix remove all DSE references
patch by Lorina Poland; reviewed by Mick Semb Wever for CASSANDRA-18231
2023-10-12 09:20:33 +02:00
Stefan Miklosovic a0b4cee198
Merge branch 'cassandra-5.0' into trunk 2023-10-12 08:39:57 +02:00
Maxim Muzafarov 49f216f37b
Update documentation metrics page according to the library upgrade
patch by Maxim Muzafarov; reviewed by Stefan Miklosovic, Michael Semb Wever for CASSANDRA-18909
2023-10-12 08:38:02 +02:00
Andrés de la Peña 31729b8f92 Merge branch 'cassandra-5.0' into trunk 2023-10-10 15:03:06 +01:00
Andrés de la Peña 3b9881bfa6 Fix vector type to support DDM's mask_default function
patch by Andrés de la Peña; reviewed by Berenguer Blasi and Maxwell Guo for CASSANDRA-18889
2023-10-10 15:01:11 +01:00
maoling 32cf1ea33d
Add ELAPSED command to cqlsh
patch by Ling Mao; reviewed by Stefan Miklosovic, Brandon Williams for CASSANDRA-18861

Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
2023-09-27 19:37:06 +02:00
Brad Schoening b58d8f174d
Make the output of ON/OFF commands in cqlsh consistent
patch by Brad Schoening; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-18547
2023-09-27 12:27:19 +02:00
Lorina Poland 3c767b0d6d
SAI docs for CEP-7
patch by Lorina Poland; reviewed by Mick Semb Wever for CASSANDRA-18231
2023-09-26 23:41:19 +02:00
Maxim Muzafarov 6708499e4c Remove metrics-reporter-config dependency
patch by Maxim Muzafarov; reviewed by Ekaterina Dimitrova and Brandon Williams for CASSANDRA-18743
2023-09-12 10:14:59 -04:00
Stefan Miklosovic bf39188cdc
Ninja fix for CASSANDRA-18606 2023-09-05 17:20:36 +02:00
Andrés de la Peña 637a427274 Add missing features to the page listing the 5.0 new features
patch by Andrés de la Peña; reviewed by Stefan Miklosovic for CASSANDRA-18794
2023-08-30 15:15:04 +01:00
Andrés de la Peña 410018ab16 Fix spelling errors in the documentation for DDM
patch by Andrés de la Peña; reviewed by Brandon Williams for CASSANDRA-18790

Co-authored-by: Andrés de la Peña <a.penya.garcia@gmail.com>
Co-authored-by: Lorina Poland <lorinapoland@gmail.com>
2023-08-24 11:22:45 +01:00
Lorina Poland 1e2c88fff8
Docs: Revise and fix leftnav and links
Fix leftnav xrefs, cass-stress change, move virtualtables, add index.adoc for each topic
Fix xrefs and headers, fix gen-nodetool script to point to new locations, fix links, headers and errors.
Cleaned up installing instructions.

 patch by Lorina Poland; reviewed by Mick Semb Wever for CASSANDRA-18606
2023-08-23 14:34:03 -07:00
Andrés de la Peña 5817799605 Restore accidentally deleted DDM doc
patch by Andrés de la Peña; reviewed by Brandon Williams and Berenguer Blasi for CASSANDRA-18776
2023-08-21 15:16:42 +01:00
Bereng 7c355c6a02 Add CASSANDRA-14227 to 5.0 new features page
patch by Berenguer Blasi; reviewed by Michael Semb Wever for CASSANDRA-18765
2023-08-17 10:32:47 +02:00
timothytu12 75f7ec7fa5
Remove legacy command line options from cassandra-stress
Also, -mode option has "native" and "cql3" as defaults and they do not need to be specified

patch by Timothy Tu; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-18529
2023-08-09 23:16:36 +02:00
Stefan Miklosovic 7b89b6018d
Remove commitlog_sync_batch_window_in_ms
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-17161
2023-08-09 20:04:34 +02:00
Shailaja Koppu 933137fb14 CIDR filtering authorizer
Patch by Shailaja Koppu, Yifan Cai; Reviewed by Dinesh Joshi, Yifan Cai for CASSANDRA-18592

Co-Authored-By: Yifan Cai <ycai@apache.org>
2023-07-28 20:10:02 -07:00
jkonisa f078c02cb5 Adding Mutual TLS authenticators for client & internode connections
Patch by Jyothsna Konisa & Dinesh Joshi; reviewed by Yifan Cai, Jon Meredith,
Yuki Morishita & Dinesh Joshi for CASSANDRA-18554

Co-Authored-By: Dinesh Joshi <djoshi@apache.org>
2023-07-28 13:54:06 -07:00
Andrés de la Peña 5a82c04fd3 Add vector similarity functions
patch by Andrés de la Peña; reviewed by Ekaterina Dimitrova and Maxwell Guo for CASSANDRA-18640

Co-authored-by: Jonathan Ellis <jbellis@datastax.com>
Co-authored-by: Andrés de la Peña <a.penya.garcia@gmail.com>
2023-07-28 15:50:32 +01:00
Caleb Rackliffe 394d4b1168 Add support for index implementation selection via USING for CREATE INDEX
patch by Caleb Rackliffe; reviewed by Maxwell Guo and Andres de la Peña for CASSANDRA-18615
2023-07-26 13:35:07 -05:00
KowalczykBartek 8faa2a2c69 Remove WaitingOnFreeMemtableSpace and DroppedMutations metrics
Patch by Bartlomiej, reviewed by bereng and brandonwilliams for
CASSANDRA-18298
2023-07-24 05:53:39 -05:00
timothytu12 00e5431d64 Upgrade commons cli to 1.5.0
Patch by Timothy Tu; reviewed by bereng and brandonwilliams for
CASSANDRA-18659
2023-07-18 06:07:29 -05:00
Stefan Miklosovic e27ba0ea34
ninja: revert count output and changed fields in SSTableMetadataViewer
this patch also fixes incorrect visualisation of SSTable min/max local deletion time when no
tombstones are present in a SSTable

patch by Stefan Miklosovic; reviewed by Marcus Eriksson and Brandon Williams for CASSANDRA-18639
2023-07-08 13:46:08 +02:00
timothytu12 006ec71f63
Add duration and count of partition keys to sstablemetadata
patch by Timothy Tu; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-18639
2023-07-07 09:07:11 +02:00
David Capwell ae537abc64 Added support for type VECTOR<type, dimension>
patch by David Capwell; reviewed by Andres de la Peña, Maxwell Guo, Mike Adamson for CASSANDRA-18504
2023-06-22 08:43:53 -07:00
Leonard Ma a2dc44f072
Remove dependency on pytz library for setting CQLSH timezones on Python version >= 3.9
patch by Leonard Ma; reviewed by Brad Schoening, Brandon Williams and Stefan Miklosovic for CASSANDRA-17433
2023-06-05 21:13:30 +02:00
Stefan Miklosovic 18cc821e30
Print header and statistics for cassandra-stress output with arbitrary frequency
patch by Stefan Miklosovic; reviewed by Brandon Williams and Berenguer Blasi for CASSANDRA-12972
2023-05-30 21:30:00 +02:00
Stefan Miklosovic 4d2ee09ffa
Make cassandra-stress able to read all credentials from a file
As side-effect, this patch also introduces possibility to pass credentials to JMX.

patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-18544
2023-05-26 18:44:37 +02:00
Brad Schoening 61333964f4
Add HISTORY command for CQLSH
patch by Brad Schoening; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-15046
2023-05-23 14:02:23 +02:00
Andrés de la Peña e72ec4e828 Add sstablepartitions offline tool to find large partitions in sstables
patch by Andrés de la Peña and Robert Stupp; reviewed by Brandon Williams and Stefan Miklosovic for CASSANDRA-8720

Co-authored-by: Andrés de la Peña <a.penya.garcia@gmail.com>
Co-authored-by: Robert Stupp <snazy@snazy.de>
2023-05-04 13:33:16 +01:00
Mick Semb Wever cfabddcfb0
Merge branch 'cassandra-4.0' into cassandra-4.1 2023-04-29 19:01:14 +02:00
Mick Semb Wever 1929550fc0
Merge branch 'cassandra-3.11' into cassandra-4.0 2023-04-29 18:24:41 +02:00
Steve Putala 90d0857d34
fix typos in data modeling and getting started docs
patch by Steve Putala; reviewed by Mick Semb Wever

ref: https://github.com/apache/cassandra/pull/2280
2023-04-29 18:18:48 +02:00
Lorina Poland 998a98eae8
Reorganizing doc directories using new info arch
patch by Lorina Poland; reviewed by Mick Semb Wever, Štefan Miklošovič for CASSANDRA-18228
2023-04-29 17:59:24 +02:00
Lorina Poland 9a3a37c5b3 DOC - Added :stem: latexmath to Data Modeling page to fix display of equations
patch by Lorina Poland; reviewed by Erick Ramirez for CASSANDRA-16906
2023-04-07 11:14:33 -07:00
Lorina Poland 68bab31b4d DOC - Added :stem: latexmath to Data Modeling page to fix display of equations
patch by Lorina Poland; reviewed by Erick Ramirez for CASSANDRA-16906
2023-04-07 11:14:15 -07:00
Lorina Poland 6b58ad0e5b DOC - Added :stem: latexmath to Data Modeling page to fix display of equations
patch by Lorina Poland; reviewed by Erick Ramirez for CASSANDRA-16906
2023-04-07 11:13:47 -07:00
Lorina Poland 83dd275d5d DOC - Added :stem: latexmath to Data Modeling page to fix display of equations
patch by Lorina Poland; reviewed by Erick Ramirez for CASSANDRA-16906
2023-04-05 11:19:31 -07:00
Andrés de la Peña d3c55ed8f8 Use snake case for the names of CQL native functions
patch by Andrés de la Peña; reviewed by Berenguer Blasi for CASSANDRA-18037
2023-04-04 15:01:34 +01:00
Andrés de la Peña 2e2a49fcdc CEP-20: Dynamic Data Masking
Allows to attach the native masking functions and UDFs to the definitions of
table columns in the schema, as defined by CEP-20.

The functions masking a column can be specified on CREATE TABLE queries, right
at the end of the column definition. The mask of a column can also be changed
or dropped with an ALTER TABLE query. Once a column is masked, SELECT queries
will always return the masked value of the column. That masking is done on the
coordinator, at the end of the query execution. Thus, masking won't affect any
filters or ordering, which would be based on the clear values of the masked
columns. Column masks are stored on the table system_schema.column_masks.

A new UNMASK permission allows to see the clear data of columns with an
attached mask. Also, a new SELECT_MASKED permission allows to run SELECT
queries restricting the clear values of masked columns. Superusers have both
permissions by default, whereas regular users don't have them.

Dynamic data masking can be enabled/disabled with the config property
dynamic_data_masking_enabled in cassandra.yaml. It is disabled by default.

This is the combination of multiple tickets:

 * Add masking functions to column metadata (CASSANDRA-18068)
 * Add UNMASK permission (CASSANDRA-18069)
 * Add SELECT_MASKED permission (CASSANDRA-18070)
 * Add support for using UDFs as masking functions (CASSANDRA-18071)
 * Add feature flag for dynamic data masking (CASSANDRA-18316)

patch by Andrés de la Peña; reviewed by Benjamin Lerer and Berenguer Blasi for CASSANDRA-17940
2023-03-24 13:57:18 +00:00
Andrés de la Peña 3eb605b4db Remove deprecated CQL functions dateOf and unixTimestampOf
patch by Andrés de la Peña; reviewed by Berenguer Blasi and Stefan Miklosovic for CASSANDRA-18328
2023-03-16 15:43:45 +00:00
Stefan Miklosovic 58a3b12508
Remove DateTieredCompactionStrategy
patch by Stefan Miklosovic; reviewed by Jacek Lewandowski for CASSANDRA-18043
2023-03-16 09:38:10 +01:00