Commit Graph

804 Commits

Author SHA1 Message Date
Andrés de la Peña 09692d5a58 Fix writetime and ttl functions forbidden for collections instead of multicell columns
patch by Andrés de la Peña; reviewed by Berenguer Blasi for CASSANDRA-17628
2022-06-27 15:09:35 +01:00
Bereng 1d39a388ba Revert "Update the CQL version for the 4.1 release"
This reverts commit a508ac06e9.
2022-06-21 11:06:10 +02:00
Bereng a508ac06e9 Update the CQL version for the 4.1 release
patch by Berenguer Blasi; reviewed by Benjamin Lerer for CASSANDRA-17570
2022-06-21 08:13:21 +02:00
Ekaterina Dimitrova 2eac2590bf Revert removal of withBufferSizeInMB(int size) to CQLSSTableWriter.Builder and deprecate it in favor of withBufferSizeIniB(int size);update the docs
patch by Ekaterina Dimitrova; reviewed by Michael Semb Wever for CASSANDRA-17675
2022-06-02 15:31:23 -04:00
Sam Tunnicliffe 577fb37c7e Merge branch 'cassandra-4.0' into cassandra-4.1 2022-05-26 08:33:06 +01:00
Andrea leopardi 1322f03afa Fix small issues in docs for native protocol v5
Patch by Andrea Leopardi; reviewed by Sam Tunnicliffe for
CASSANDRA-17659
2022-05-26 08:28:15 +01:00
Ekaterina Dimitrova a67a2a2441 Handle config parameters upper bound on startup; Fix auto_snapshot_ttl and paxos_purge_grace_period min unit validations
patch by Ekaterina Dimitrova and Andres de la Pena; reviewed by Andres de la Pena and Caleb Rackliffe for CASSANDRA-17571

Co-authored-by: Ekaterina Dimitrova <ekaterina.dimitrova@datastax.com>
Co-authored-by: Andrés de la Peña <a.penya.garcia@gmail.com>
2022-05-20 14:27:20 -04:00
Yifan Cai 8fc39685fb Fix testCDCIndexFileWriteOnSync and document cdc index file read edge case
Patch by Yifan Cai; reviewed by Josh McKenzie for CASSANDRA-17416
2022-05-09 15:21:16 -07:00
Tibor Répási c26dc06a28 add datapaths subcommand to nodetool
patch by Tibor Repasi; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-17568
2022-04-22 14:48:37 +02:00
Benjamin Lerer 1ad8bf67a9 Allow to aggregate by time intervals
Patch by Benjamin Lerer; review by Andres De la Pena and Yifan Cai for CASSANDRA-11871

The patch allow to use pure monotonic functions on the last attribute of the GROUP BY clause and introduce some floor functions that can be use to group by time range.

A function is pure if:
    1. The function return values are identical for identical arguments
    2. The function application has no side effects

A function is monotonic if it is either entirely nonincreasing or nondecreasing.
2022-04-22 10:59:42 +02:00
ROCHETEAU Antoine d80bb323c9 CONTAINS and CONTAINS KEY support for Lightweight Transactions
patch by ROCHETEAU Antoine; reviewed by Benjamin Lerer, Berenguer Blasi for CASSANDRA-10537
2022-04-21 09:16:07 +02:00
Ekaterina Dimitrova dac738d2eb Transfer config parameters to the new types; Fix corner case for permissions_update_interval, roles_update_interval, credentials_update_interval;Fix typo in Config annotation; Made Converters type safe and fixed a few cases where converters used the wrong type; o should be provided with unit to DataStorageSpec and DurationStorageSpec; Fix null bug in DataStorageSpec and DurationSpec
patch by Ekaterina Dimitrova, David Capwell; reviewed by David Capwell and Caleb Rackliffe for CASSANDRA-17431

Co-authored-by: Ekaterina Dimitrova <ekaterina.dimitrova@datastax.com>
Co-authored-by: David Capwell <dcapwell@apache.org>
2022-04-20 10:20:30 -04:00
Marcus Eriksson 537321e9c7 Remove stress server functionality
Patch by marcuse; reviewed by Brandon Williams for CASSANDRA-17535
2022-04-08 14:34:43 +02:00
Jogesh Anand e137c7c34c Add support for IF EXISTS and IF NOT EXISTS in ALTER statements
patch by Jogesh Anand; reviewed by Benjamin Lerer, Berenguer Blasi for CASSANDRA-16916
2022-04-04 11:35:16 +02:00
Bereng bdde665032 Adding docs for pre hashed passwords
patch by Berenguer Blasi; reviewed by Andres de la Peña for CASSANDRA-17494
2022-04-04 07:17:37 +02:00
Stefan Miklosovic e9ca465468 allow users to change cqlsh history location using env variable
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-17448
2022-03-24 23:24:21 +01:00
Josh McKenzie 10103d353c Add required -f option to nodetool verify
Patch by Josh McKenzie; reviewed by Marcus Eriksson, Berenguer Blasi, and Caleb Rackliffe for CASSANDRA-17017

Co-authored by Josh McKenzie <jmckenzie@apache.org>
Co-authored by Chris Lohfink <clohfink@apple.com>
2022-03-24 11:54:16 -04:00
Erick Ramirez 6a3edecd21 Merge branch 'cassandra-4.0' into trunk 2022-03-22 11:14:13 +00:00
Erick Ramirez a14700bf76 Merge branch 'cassandra-3.11' into cassandra-4.0 2022-03-22 11:09:04 +00:00
Erick Ramirez 84f629752f Fixed Configuration index, topologies, CDC archiving properties pages (3.11)
patch by taku333, Erick Ramirez; reviewed by Erick Ramirez for CASSANDRA-17444

Co-authored by: taku333 <19281989thezuka@gmail.com>
Co-authored by: Erick Ramirez <erickramirezau@apache.org>
2022-03-22 11:02:50 +00:00
Ekaterina Dimitrova d67be0def4 Add docs about configuration framework added in CASSANDRA-15234
patch by Ekaterina Dimitrova; reviewed by Michael Semb Wever and Caleb Rackliffe for CASSANDRA-17246
2022-03-18 14:33:19 -04:00
Francisco Guerrero 61be4d8362 expose gossip information in system_views.gossip_info virtual table
patch by Francisco Guerrero; reviewed by Stefan Miklosovic and Yifan Cai for CASSANDRA-17002

This commit adds a new virtual table that exposes the gossip information in tabular format.

The information is the same as the information presented through the `nodetool gossipinfo`
command, but the virtual table splits the version and value from `VersionedValue` into two
different columns. This is intented to help clients reading the vtable without the need of
parsing the version:value information (as it currently stands in gossipinfo).

The token value does not have a column. This is consistent with the gossipinfo output which
always renders ":<hidden>" for the Token value. Only the token_version column is available.
2022-03-16 01:41:10 +01:00
Bereng ac34f28e31 Documentation update of virtual table system_views.clients
patch by Tibor Repasi; reviewed by Berenguer Blasi, Ekaterina Dimitrova for CASSANDRA-17344
2022-03-08 11:26:44 +01:00
Erick Ramirez 00cf266a8f Fixed title on STCS page, broken links on compaction page (4.0)
patch by Erick Ramirez; reviewed by Matt Fleming for CASSANDRA-17361
2022-03-05 00:24:55 +00:00
Erick Ramirez f1c7bf9a54 Fixed title on STCS page, broken links on compaction page (trunk)
patch by Erick Ramirez; reviewed by Matt Fleming for CASSANDRA-17361
2022-03-05 00:23:15 +00:00
Erick Ramirez 477d006c6c Fixed title on STCS page, broken links on compaction page (3.11)
patch by Erick Ramirez; reviewed by Matt Fleming for CASSANDRA-17361
2022-03-05 00:20:39 +00:00
Ekaterina Dimitrova 769f6b3122 Merge branch 'cassandra-4.0' into trunk 2022-02-25 11:54:34 -05:00
Ekaterina Dimitrova 22a4ae16e4 Deprecate JavaScript user-defined functions
patch by Ekaterina Dimitrova; reviewed by Berenguer Blasi and Marcus Eriksson for CASSANDRA-17280
2022-02-25 11:32:25 -05:00
Maulin Vasavada 6d0db649ca add documentation for CASSANDRA-16950 and CASSANDRA-17031
patch by Maulin Vasavada; reviewed by Stefan Miklosovic for CASSANDRA-16950
2022-02-10 10:55:41 +01:00
Ekaterina Dimitrova 23138252f2 Transfer parameters to the newly introduced configuration framework (6)
patch by Ekaterina Dimitrova; reviewed by Caleb Rackliffe, David Capwell, Michael Semb Wever and Benjamin Lerer for CASSANDRA-15234
2022-02-05 22:28:40 -05:00
Stefan Miklosovic da47849b50 Remove Windows-specific classes and related code
patch by Stefan Miklosovic; reviewed by Joshua McKenzie, Bowen Song, Berenguer Blasi for CASSANDRA-16956
2022-02-05 15:41:33 +01:00
Mick Semb Wever b968dd49e1
Merge branch 'cassandra-4.0' into trunk 2022-02-04 14:47:29 +01:00
Mick Semb Wever 02f58d70d0
Merge branch 'cassandra-3.11' into cassandra-4.0 2022-02-04 14:46:06 +01:00
Andrew Hogg e4c6b8e1ed
Hints page has a misaligned settings table
patch by Andrew Hogg; reviewed by Mick Semb Wever for CASSANDRA-17346
2022-02-04 14:43:06 +01:00
Shailaja Koppu 945a4fc23a Add a virtual table for exposing prepared statements metrics
patch by Shailaja Koppu; reviewed by Ekaterina Dimitrova, Francisco Guerrero, Yifan Cai for CASSANDRA-17224
2022-02-01 12:45:51 -08:00
Bereng ff4d63d392 Merge branch 'cassandra-4.0' into trunk 2022-01-25 07:11:04 +01:00
Bereng 85248da628 PasswordObfuscator should not assume PASSWORD is the last item in the WITH clause
patch by Berenguer Blasi; reviewed by Benjamin Lerer, Ekaterina Dimitrova for CASSANDRA-16801
2022-01-25 07:08:48 +01:00
Ekaterina Dimitrova 8ace479455 Merge branch 'cassandra-4.0' into trunk 2022-01-24 12:50:39 -05:00
Ekaterina Dimitrova 2b63dc7044 Full support for Java 11; it is not experimental anymore
patch by Ekaterina Dimitrova; reviewed by Michael Semb Wever for CASSANDRA-16894
2022-01-24 12:11:12 -05:00
Mick Semb Wever 54aee87c56
Merge branch 'cassandra-4.0' into trunk 2022-01-05 23:11:36 +01:00
Mick Semb Wever 0aad2e9e86
Merge branch 'cassandra-3.11' into cassandra-4.0 2022-01-05 23:00:27 +01:00
Lorina Poland 05b0eaecad
Migrate documentation to AsciiDoc
This commit sets up a new documentation structure and format:

* The directory struture changes from a Sphinx project to an Antora module layout.
* The formatting of the content changes from reStructuredText to AsciiDoc.

The documentation must now be built and published with Antora. Initially only from the cassandra-website repository.

This change was done to make maintaining versioned website documentation easier. As Antora is designed to generate versioned documentation.

The old directory structure was:

<ROOT>
  - doc/
    - cql3/
      - CQL.css
      - CQL.textile
    - source/
      - _static/
      - _templates/
      - _theme/
      - _util/
      - <other directory sections>/
      - conf.py
      - index.rst
      - <other *.rst pages>
    - make.bat
    - Makefile
    - README.md
    - SASI.md
    - <*.spec files>
    - <generation scripts>

The new directory structure organises the documentation into modules:

<ROOT>
  - doc/
    - cql3
    - modules/
      - cassandra/
        - assets/
        - examples/
        - pages/
        - partials/
        - nav.adoc
      - ROOT/
        - pages/
        - nav.adoc
    - scripts/
    - antora.yaml
    - README.md
    - SASI.md

 patch by Lorina Poland, Anthony Grasso; reviewed by Anthony Grasso, Mick Semb Wever for CASSANDRA-16763

Co-authored-by: Anthony Grasso <anthony@thelastpickle.com>
2022-01-05 22:03:02 +01:00
Aleksei Zotov 63292292b8 Implement Virtual Tables for Auth Caches
Patch by Aleksei Zotov; reviewed by Sam Tunnicliffe, and Benjamin Lerer for CASSANDRA-16914
2021-11-10 12:04:04 +04:00
Josh McKenzie ab920c3031 Add a Denylist to block reads and writes on specific partition keys
Patch by Josh McKenzie, reviewed by Aleksei Zotov and Sumanth Pasupuleti for CASSANDRA-12106

Co-authored by Josh McKenzie <jmckenzie@apache.org>
Co-authored by Sam Overton
2021-11-01 12:43:51 -04:00
kurt b2ccd0f3f5 ensure hint window is persistent across restarts of a node
patch by Kurt Greaves; reviewed by Brandon Williams, Mick Semb Wever and Stefan Miklosovic for CASSANDRA-14309
2021-10-22 17:23:06 +02:00
Aleksei Zotov 460ae341f5 Make nodetool compactionstats and sstable_tasks consistent
patch by Aleksei Zotov; reviewed by Stefan Miklocovic and Brandon Williams for CASSANDRA-16976
2021-10-14 15:16:12 +04:00
Sumanth Pasupuleti 5fdadb25f9 add default_keyspace_rf and minimum_keyspace_rf configuration options
Patch by Sumanth Pasupuleti; reviewed by Jaydeepkumar Chovatia, Alex Petrov, Stefan Miklosovic and Alexander Zotov for CASSANDRA-14557.
2021-10-13 10:15:24 +02:00
Andrés de la Peña 0d4cc2ef0d Add support for type casting in WHERE clause components and in the values of INSERT/UPDATE statements
patch by Andrés de la Peña; reviewed by Benjamin Lerer for CASSANDRA-14337
2021-10-12 11:55:31 +01:00
Bowen Song 917d74bd35 add credentials file support for CQLSH
patch by Bowen Song; reviewed by Brian Houser, Stefan Miklosovic and Brandon Williams for CASSANDRA-16983
2021-10-11 18:33:16 +02:00
Maulin Vasavada 24dcc280c2 CEP-9 make SSLContext creation pluggable
patch by Maulin Vasavada; reviewed by Jon Meredith, Stefan Miklosovic and Berenguer Blasi for CASSANDRA-16666
2021-10-04 08:54:48 +02:00
Brandon Williams 9ed8810183 Add sstable count to compactionstats output
Patch by brandonwilliams; reviwed by Aleksei Zotov and adelapena for
CASSANDRA-16844
2021-09-22 11:39:22 -05:00
Aleksei Zotov f7c71f65c0 Allow DELETE and TRUNCATE to work on Virtual Tables if the implementation allows it
patch by Aleksei Zoto; reviewed by Benjamin Lerer and Chris Lohfink for
CASSANDRA-16806
2021-09-17 15:07:36 +02:00
Andrés de la Peña 4e2464d44e Merge branch 'cassandra-4.0' into trunk 2021-07-30 18:12:01 +01:00
Andrés de la Peña d319352fa8 Improve help, doc and error messages about sstabledump -k and -x arguments
patch by Andrés de la Peña; reviewed by Ekaterina Dimitrova for CASSANDRA-16818
2021-07-30 18:05:22 +01:00
Mick Semb Wever 9cc7a0025d
Update release doc to include steps to perform on failed vote 2021-07-17 12:50:34 +02:00
Mick Semb Wever c3f3d67c05
Merge branch 'cassandra-4.0' into trunk 2021-06-27 18:14:56 +02:00
Mick Semb Wever 0fc876894a
ninja-fix: update release docs for correct nexus terminology 2021-06-27 18:13:59 +02:00
Mick Semb Wever aac6f7db8c
Merge branch 'cassandra-4.0' into trunk 2021-06-25 13:09:36 +02:00
Mick Semb Wever 6fc0715fe0
Merge branch 'cassandra-3.11' into cassandra-4.0 2021-06-25 12:59:59 +02:00
Bhouse99 b3cdc131ab
Fixes License text problem in docs (gen-doc)
patch by Brian Houser; review by Mick Semb Wever for CASSANDRA-16727
2021-06-25 12:55:48 +02:00
Benjamin Lerer c9130d454c Merge branch cassandra-4.0 into trunk 2021-06-18 15:17:52 +02:00
Benjamin Lerer bdb7c3b377 Merge branch cassandra-3.11 into cassandra-4.0.0 2021-06-18 15:11:27 +02:00
Ben Slater db7f15dcd5 Clarify in the documentation that "Cassandra must be stopped" applies to the source cluster for sstableloader
patch by Ben Slater; reviewed by Stefan Miklosovic for CASSANDRA-16746
2021-06-16 11:44:29 +02:00
Sumanth Pasupuleti f978bea272 Obfuscate passwords in statements in QueryEvents
patch by Sumanth Pasupuleti; reviewed by Ekaterina Dimitrova, Stefan Miklosovic and Vinay Chella for CASSANDRA-16669
2021-06-15 14:31:59 +02:00
Yifan Cai 326802e583 Merge branch 'cassandra-3.11' into cassandra-4.0 2021-05-31 11:19:11 -07:00
Alexey Zotov 803a23b2f1 Fix LeveledCompactionStrategy compacts last level throw an ArrayIndexOutOfBoundsException
patch by Alexey Zotov; reviewed by Marcus Eriksson, Yifan Cai for CASSANDRA-15669
2021-05-31 11:17:51 -07:00
Andrés de la Peña 0d3ead9f55 Merge branch 'cassandra-3.11' into cassandra-4.0 2021-05-27 16:33:44 +01:00
Andrés de la Peña 7694cc5173 Merge branch 'cassandra-3.0' into cassandra-3.11 2021-05-27 16:32:01 +01:00
Justin Chu 55b4b8dd3b Ninja fix typo in commit log archive page 2021-05-26 16:44:39 -04:00
Ekaterina Dimitrova 658f3e11a6 Improve AuditLogging documentation and logback.xml
authored by Ekaterina Dimitrova, reviewed by Sarma Pydipally, Brandon Williams for CASSANDRA-16682
2021-05-21 14:42:53 -04:00
Bereng 2ca525b6b7 Merge branch 'cassandra-3.11' into cassandra-4.0 2021-05-18 06:40:52 +02:00
Bereng 317a4a864c Merge branch 'cassandra-3.0' into cassandra-3.11 2021-05-18 06:39:11 +02:00
Andrés de la Peña 98b449f38a Merge branch 'cassandra-3.11' into cassandra-4.0 2021-05-12 11:28:55 +01:00
Andrés de la Peña 1e42c105ce Merge branch 'cassandra-3.0' into cassandra-3.11 2021-05-12 11:25:57 +01:00
Mick Semb Wever 0c7833a52b
Merge branch 'cassandra-3.11' into cassandra-4.0 2021-05-04 18:20:52 +02:00
Mick Semb Wever 321e6422e2
Update how_to_commit.rst after creating release branch 4.0
patch by Mick Semb Wever; reviewed by Ekaterina Dimitrova for CASSANDRA-16642
2021-05-04 18:08:06 +02:00
Brandon Williams e2ee45cc74 Ninja remove '!=' operator from cql doc for CASSANDRA-16635 2021-04-27 08:53:32 -05:00
Sam Tunnicliffe 9cda055faa Merge branch 'cassandra-3.11' into trunk 2021-04-27 09:31:45 +01:00
Sam Tunnicliffe 87a46c36f0 Merge branch 'cassandra-3.0' into cassandra-3.11 2021-04-27 09:20:25 +01:00
Bereng e74d89114d Fix How-to Commit docs
patch by Berenguer Blasi; reviewed by Mick Semb Wever, Ekaterina Dimitrova for CASSANDRA-16626
2021-04-27 07:49:39 +02:00
Mick Semb Wever ab91b1fdc7
Update release process documentation wrt bintray removal and new usage of ASF JFrog Artifactory
ref: https://github.com/apache/cassandra/pull/985

 patch by Mick Semb Wever; reviewed by Ekaterina Dimitrova
2021-04-26 16:44:25 +02:00
Yifan Cai 0fd8f0a52f Revise the metrics docs
patch by Yifan Cai; reviewed by Brandon Williams for CASSANDRA-16602
2021-04-21 13:23:59 -07:00
Mick Semb Wever 7337fc0ab4
Merge branch 'cassandra-3.11' into trunk 2021-04-19 17:39:10 +02:00
Mick Semb Wever 2ec96ae669
Merge branch 'cassandra-3.0' into cassandra-3.11 2021-04-19 17:34:05 +02:00
Mick Semb Wever 50a97a0d76
Merge branch 'cassandra-2.2' into cassandra-3.0 2021-04-19 17:29:00 +02:00
Mick Semb Wever 53b0661cbb
Fix rat checking for files with missing license headers
patch by Mick Semb Wever; reviewed by Brandon Williams, Ekaterina Dimitrova for CASSANDRA-16558
2021-04-19 17:18:26 +02:00
Mick Semb Wever 7ccb4a0e24
Merge branch 'cassandra-3.11' into trunk 2021-04-07 17:53:23 +02:00
Angelo Polo 6edd7db751
Eliminate gen-doc template warning and unused (problematic) import
gen-doc is now python3 compatible

 patch by Angelo Polo; reviewed by Ekaterina Dimitrova, Mick Semb Wever for CASSANDRA-16206
2021-04-07 17:50:24 +02:00
Mick Semb Wever 1a92e4a649
Merge branch 'cassandra-3.11' into trunk 2021-03-27 00:38:31 +01:00
Mick Semb Wever 9e513390b7
Merge branch 'cassandra-3.0' into cassandra-3.11 2021-03-27 00:36:11 +01:00
Ekaterina Dimitrova 0a49d25078 Update compact storage related docs
Authored by Ekaterina Dimitrova; reviewed by Michael Semb Wever and Berenguer Blasi for CASSANDRA-16476
2021-03-22 11:55:34 -04:00
Jeff Widman 3d539d908f Update python2 doc references to point to py3
Patch by Jeff Widman; reviewed by brandonwilliams for CASSANDRA-16505
2021-03-09 17:15:07 -06:00
Adam Holmberg 72ca73fbc6 deprecate python2.7 for cqlsh
Patch by Adam Holmberg; reviewed by brandonwilliams for CASSANDRA-16414
2021-02-26 14:52:38 -06:00
Yifan Cai 425f750a6f Document the side-effect of Zero Copy Streaming when using multiple data directories 2021-02-26 09:42:54 -08:00
Yifan Cai f32475a839 Fix incorrect encoding for strings can be UTF8
patch by Yifan Cai; reviewed by Ekaterina Dimitrova for CASSANDRA-16429
2021-02-22 18:58:05 -08:00
Mick Semb Wever 637b242840
Merge branch 'cassandra-3.11' into trunk 2021-02-08 11:28:47 +01:00
Benjamin Lerer f69b11eee9 Improve system tables handling in case of disk failures
patch by Benjamin Lerer; reviewed by Andrés de la Peña and  Marcus
Eriksson for CASSANDRA-14793
2021-02-04 15:04:22 +01:00
yifan-c d12cb03069 Fix table definition in metrics doc source
patch by Yifan Cai; reviewed by Benjamin Lerer for CASSANDRA-16410
2021-02-01 11:14:39 -08:00
Sam Tunnicliffe f87e0eacad Update native protocol v5 spec with new framing format
Also include a note in the Upgrading section of NEWS.txt

Patch by Sam Tunnicliffe; reviewed by Mick Semb Wever, Alex Petrov
and Martin Sucha for CASSANDRA-14688
2021-01-22 14:43:48 +00:00
Sam Tunnicliffe 4262ef3a44 Merge branch 'cassandra-3.11' into trunk 2021-01-22 14:41:33 +00:00