Commit Graph

871 Commits

Author SHA1 Message Date
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
Stefan Miklosovic e8907eba15
Merge branch 'cassandra-5.0' into trunk 2023-09-27 12:34:21 +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
Mick Semb Wever 1dd3440ccb
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  SAI docs for CEP-7
2023-09-27 11:44:44 +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
Ekaterina Dimitrova 830f88d4ab Merge branch 'cassandra-5.0' into trunk 2023-09-12 10:26:31 -04: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 7ecac39570
Merge branch 'cassandra-5.0' into trunk 2023-09-05 19:02:15 +02:00
Stefan Miklosovic bf39188cdc
Ninja fix for CASSANDRA-18606 2023-09-05 17:20:36 +02:00
Andrés de la Peña e9b9f9a35f Merge branch 'cassandra-5.0' into trunk 2023-08-30 15:21:33 +01: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 cbaef9094e Merge branch 'cassandra-5.0' into trunk 2023-08-24 11:23:23 +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
Mick Semb Wever 9c7e1adb1d
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Docs: Revise and fix leftnav and links
2023-08-23 14:34:39 -07: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 d6534e5c4f Merge branch 'cassandra-5.0' into trunk 2023-08-21 15:17:24 +01: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 64f553bf97 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Add CASSANDRA-14227 to 5.0 new features page
2023-08-17 10:37:29 +02: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
Mick Semb Wever 89fe2223b4
Update trunk to version 5.1
- update jvm-dtest supported upgrade paths
 - update circeci and in-tree scripts to build 5.0 dtest jar
 - update in-tree scripts for better repetitive testing of jvm-dtest-upgrade tests
 - fix jvm-dtest-upgrade tests that broke with 5.0 -> 5.1 upgrades
 - update docs trunk -> 5.0

 patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-18705
2023-08-14 14:25:19 +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
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 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
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