Commit Graph

928 Commits

Author SHA1 Message Date
Mick Semb Wever b492341eb5
Move deb/rpm repositories from dist/downloads .a.o to apache.jfrog.io
patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-17748
2022-08-16 21:45:23 +02:00
Andrés de la Peña c8c8635a4c Add ability to read the TTLs and write times of the elements of a collection and/or UDT
patch by Andrés de la Peña; reviewed by Yifan Cai and Benjamin Lerer for CASSANDRA-8877
2022-08-12 13:00:04 +01:00
Ekaterina Dimitrova 61d9ba6dff Merge branch 'cassandra-4.1' into trunk 2022-08-08 13:13:09 -04:00
Ekaterina Dimitrova a7d7708976 Merge branch 'cassandra-4.0' into cassandra-4.1 2022-08-08 13:02:48 -04:00
Ekaterina Dimitrova e5e13c02cc Fix default value for compaction_throughput_mb_per_sec in Config class to match the one in cassandra.yaml
patch by Ekaterina Dimimtrova; reviewed by Francisco Guerrero, Michael Semb Wever for CASSANDRA-17790
2022-08-08 12:45:36 -04:00
Mick Semb Wever c2148980ce
Remove read_repair table option from docs, and restore read_repair_chance docs
patch by Milan Krisko; reviewed by Mick Semb Wever for CASSANDRA-17727
2022-07-16 12:57:38 +02:00
Mick Semb Wever 2355ef08a2
Merge branch 'cassandra-4.1' into trunk 2022-07-08 12:26:07 +02:00
Mick Semb Wever 31eb6852e1
Merge branch 'cassandra-4.0' into cassandra-4.1 2022-07-08 12:25:21 +02:00
Mick Semb Wever 5072bde5fb
Merge branch 'cassandra-3.11' into cassandra-4.0 2022-07-08 12:24:22 +02:00
Andrew Hogg ef6bce5084
Removing superfluous bullet points in FAQ page
patch by Andrew Hogg; reviewed by Mick Semb Wever for CASSANDRA-17275
2022-07-08 11:43:49 +02:00
Bereng 481fdde885 Merge branch 'cassandra-4.1' into trunk 2022-07-08 09:20:06 +02:00
Bereng f77a7a29e8 Update the CQL version for the 4.1 release
Patch by Berenguer Blasi; reviewed by Benjamin Lerer for CASSANDRA-17570
2022-07-08 09:15:27 +02:00
Andrés de la Peña f8207fe287 Merge branch 'cassandra-4.1' into trunk 2022-06-27 15:16:03 +01:00
Andrés de la Peña 33730d9d06 Merge branch 'cassandra-4.0' into cassandra-4.1 2022-06-27 15:15:21 +01:00
Andrés de la Peña 90e2502c6c Merge branch 'cassandra-3.11' into cassandra-4.0 2022-06-27 15:14:35 +01:00
Andrés de la Peña bc8a260471 Merge branch 'cassandra-3.0' into cassandra-3.11 2022-06-27 15:13:45 +01:00
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 081d42472d Merge branch 'cassandra-4.1' into trunk 2022-06-21 11:15:41 +02: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 c7202f9d84 Merge branch 'cassandra-4.1' into trunk 2022-06-21 08:17:07 +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 ce4ae43a31 Merge branch 'cassandra-4.1' into trunk 2022-06-02 15:51:43 -04: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
Brad Schoening 72d5b4d1b1 add CQLSH command SHOW REPLICAS
patch by Brad Schoening; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-17577
2022-05-27 17:56:47 +02:00
Sam Tunnicliffe 1f83985ef8 Merge branch 'cassandra-4.1' into trunk 2022-05-26 08:34:19 +01: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 c0b175595d Merge branch 'cassandra-4.1' into trunk 2022-05-20 14:36:46 -04: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 26dd119679 Add new CQL function maxWritetime
patch by Yifan Cai; reviewed by Andres de la Peña, Francisco Guerrero for CASSANDRA-17425
2022-05-18 11:56:51 -07: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
Yifan Cai c48906394e Fix testCDCIndexFileWriteOnSync and document cdc index file read edge case
Patch by Yifan Cai; reviewed by Josh McKenzie for CASSANDRA-17416
2022-05-06 11:35:28 -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
Sam Tunnicliffe 0ed819d6e8 Merge branch 'cassandra-3.0' into cassandra-3.11 2021-01-22 14:31:44 +00:00
Sam Tunnicliffe 4d4218c553 Merge branch 'cassandra-2.2' into cassandra-3.0 2021-01-22 14:28:10 +00:00
Sam Tunnicliffe 732ec77238 Clarify order of non-message frame body elements in protocol spec
Patch and review by Mick Semb Wever and Sam Tunnicliffe for CASSANDRA-14541
2021-01-22 14:27:47 +00:00
zhaorenhai 7f1659cd1d
Upgrade netty and chronicle-queue dependencies to get Auditing and native library loading working on arm64 architectures
CASSANDRA-16384 test case AuditLoggerTest fail on aarch64 platform
 CASSANDRA-16392 Unable to load the library netty_tcnative_linux_aarch_64

 patch by Zhao Renhai (赵 仁海); reviewed by Mick Semb Wever for CASSANDRA-16384,CASSANDRA-16392
2021-01-22 10:02:20 +01:00
Mick Semb Wever 1596c37d03
Merge branch 'cassandra-3.11' into trunk 2021-01-08 00:01:41 +01:00
Mick Semb Wever 3e24c0349a
Merge branch 'cassandra-3.0' into cassandra-3.11 2021-01-07 23:05:09 +01:00
Mick Semb Wever 200615ded5
Increment version to 4.0-beta5 2020-12-30 12:47:53 +01:00
yifan-c c6ea8fabf9 Add dedicated tcp user timeout for streaming connection
patch by Yifan Cai; reviewed by Berenguer Blasi, David Capwell, Adam
Holmberg and by Benjamin Lerer for CASSANDRA-16143
2020-12-09 13:33:33 +01:00
Mick Semb Wever 2346ed8241
Offline token allocation strategy generator tool
Provides the tools/bin/generate-tokens script that can be used to pregenerate allocation strategy tokens.
Refactors TokenAllocation for extensibility (and better re-use between strategies), and adds OfflineTokenAllocator.
TokenMetadata now has a configurable snitch (instead of hardcoded to DatabaseDescriptor.getEndpointSnitch()) for testability.
Adds logging of growth and stddev changes to allocate_tokens_for_local_replication_factor usages.

 patch by Mick Semb Wever; reviewed by Paul Motta, Ekaterina Dimitrova for CASSANDRA-16205
2020-12-03 19:20:59 +01:00
Yuki Morishita d9e2ed00af Remove windows scripts and their references
patch by Yuki Morishita; reviewed by Berenguer Blasi and Andrés de la Peña for CASSANDRA-16171
2020-12-02 16:43:45 +00:00
Miles Garnsey 872751a050
Correct header for STCS documentation
In the STCS documentation switch the header "Levelled Compaction Strategy" to the corrected "Size Tiered Compaction Strategy" to make this documentation easier to find via search.

 patch by Miles Garnsey; reviewed by Berenguer Blasi for CASSANDRA-16282
2020-11-18 13:14:51 +01:00
Brandon Williams a04ccf3297 sstablescrub unit test hardening and docs
Patch by Berenguer Blasi, reviewed by brandonwilliams for
CASSANDRA-16013
2020-11-17 14:01:28 -06:00
Mick Semb Wever b73f034da1
Upgrade JNA to 5.6.0
Also remove remaining comments/doc referencing `-Dcassandra.boot_without_jna`

 patch by Adrain Cole, Mick Semb Wever; reviewed by Benjamin Lerer, Joey Lynch for CASSANDRA-16212

Co-authored-by: Adrian Cole <adrian.f.cole@gmail.com>
2020-11-16 09:36:45 +01:00
Mick Semb Wever 4dc1b5c311
Merge branch 'cassandra-3.11' into trunk 2020-11-09 21:50:36 +01:00
Alain Rodriguez 73a90b987d
Fix documentation to reflect real defaults for commit logs
patch by Alain Rodriguez; reviewed by Mick Semb Wever for CASSANDRA-16253
2020-11-09 21:34:00 +01:00
Mick Semb Wever 6ca34f8138
Merge branch 'cassandra-3.11' into trunk 2020-10-27 10:50:57 +01:00
Mick Semb Wever 06e4e81d87
Merge branch 'cassandra-3.0' into cassandra-3.11 2020-10-27 10:49:15 +01:00
Chris Lohfink 4adb8a5e07
Add metric for client concurrent byte throttle
patch by Chris Lohfink; reviewed by David Capwell, Mick Semb Wever for CASSANDRA-16074
2020-10-17 18:03:01 +02:00
Fábio Ueno 9347805e60 Improve UDTs and Tuples documentation
patch by Fábio Ueno; reviewed by Benedict Elliott Smith and Benjamin Lerer
for CASSANDRA-16117
2020-10-08 14:17:04 +02:00
Bereng e8d3743b1a sstablemetadata unit test, docs and params parsing hardening
Patch by Bereguer Blasi, reviewed by brandonwilliams for CASSANDRA-16016
2020-10-06 14:42:39 -05:00
Lee Tang e973344305 Emit a metric for mutations that are too large
Patch by Lee Tang; Reviewed by Chris Lohfink, Jordan West for CASSANDRA-16116
2020-09-23 22:35:39 -05:00
Fábio Ueno 64b338cbbc
Remove duplicate line about virtual table limitations
patch by Fábio Ueno; reviewed by Mick Semb Wever for CASSANDRA-16107
2020-09-06 22:52:42 +02:00
David Capwell 614d7d06f4 Change style guide to include @Override
patch by David Capwell for CASSANDRA-16096
2020-09-02 11:36:56 -07:00
Stefan Miklosovic 419099c92b add nodetool getfullquerylog command
Patch by Stefan Miklosovic; reviewed by Berenguer Blasi, brandonwilliams, and dcapwell for
CASSANDRA-15988
2020-09-02 11:13:28 -05:00
Lorina Poland 3a2d709b9c Improve FQL doc page
patch by Lorina Poland; reviewed by David Cappwell, Ekaterina Dimitrova for CASSANDRA-15971
2020-08-27 14:42:18 -07:00
Bereng a497d43e6b Remove deprecated HintedHandOffManager
Patch by Bereguer Blasi, reviewed by brandonwilliams for CASSANDRA-15939
2020-08-25 11:52:47 -05:00
Ekaterina Dimitrova 102a54a6a1 Update 4.0.0 to 4.0-beta1 at Documentation/Installing
Patch by Ekaterina Dimitrova, reviewed by brandonwilliams for CASSANDRA-16000
2020-08-20 10:48:24 -05:00
Brandon Williams fd6f9e6986 fix typos in test doc 2020-08-19 11:13:53 -05:00
Stefan Miklosovic 00c22232d9 FQL replay should have options to ignore DDL statements
Patch by Stefan Miklosovic; reviewed by David Capwell and Marcus Eriksson
for CASSANDRA-16039
2020-08-19 09:40:45 +02:00
Ekaterina Dimitrova cba0c27ce9 Remove COMPACT STORAGE internals
Patch by Ekaterina Dimitrova, reviewed by Sylvain Lebresne for
CASSANDRA-13994
2020-08-17 11:51:23 +02:00
Adam Holmberg 139ad44e8b Update docs regarding timestamp precision
Patch by Adam Holmberg, reviewed by brandonwilliams for CASSANDRA-14853
2020-08-14 09:53:43 -05:00
Caleb Rackliffe 292650d968 Merge branch 'cassandra-3.11' into trunk 2020-07-30 14:10:48 +01:00
Caleb Rackliffe 2ef1f1c150 Merge branch 'cassandra-3.0' into cassandra-3.11 2020-07-30 13:27:53 +01:00
David Capwell a2c3d5a4ce how_to_commit.rst missing dash in git commands, added recommendation to compile before commit, and documented that a merge -s ours is needed for older branches even if they do not impact trunk
patch by David Capwell; reviewed by Brandon Williams for CASSANDRA-15982
2020-07-27 11:36:35 -07:00
Angelo Polo a47be7eddd Fix gen-doc for python 3
Patch by Angelo Polo, reviewed by Ekaterina Dimitrova and
brandonwilliams for CASSANDRA-15693
2020-07-23 17:17:06 -05:00
Robert Stupp 4e47bfb3a1 Add support for server side DESCRIBE statements
patch by Robert Stupp; reviewed by Dinesh Joshi and Benjamin Lerer for CASSANDRA-14825
2020-06-29 18:01:02 +02:00
Mick Semb Wever 853b599337
Merge branch 'cassandra-3.11' into trunk 2020-06-24 12:18:55 +02:00
Max Böhm de333212a4 switch from www.apache.org to downloads.apache.org
Patch by Max Böhm, reviewed by brandonwilliams for CASSANDRA-15888
2020-06-22 09:25:33 -05:00
Joseph Lynch 674b6cc1a5 Update defaults for server and client TLS settings
This fixes backwards compatibility with the 3.11 server_encryption_options
while exposing the correct defaults after the 4.0 Netty refactor.

Patch by Joseph Lynch; Reviewed by Ekaterina Dimitrova for CASSANDRA-15262
2020-06-20 18:59:41 -07:00
polandll 57a63f8551 Improving Cassandra configuration docs
* Update copyright date to 2020
* Add glossary
* Rearranged rackdc for better flow
* Add topologies properties file
* Add commitlog_archiving file
* Add logback.xml info
* jvm.options files
* Removed invalid reference to wiki from configuration file

Patch by Lorina Poland; Reviewed by Jon Haddad for CASSANDRA-15822
2020-06-03 11:24:38 -07:00
Mick Semb Wever e690e2985f
Add docs section on configuring the Jenkins master to create the "Cassandra" category throttle.
patch by Mick Semb Wever; reviewed by David Capwell for CASSANDRA-15826
2020-05-26 20:03:25 +02:00
Zhao Yang 598a92180e
Use isTransient=false for ZCS sstables
patch by Zhao Yang; reviewed by Blake Eggleston, Dinesh Joshi, Ekaterina Dimitrova for CASSANDRA-15783
2020-05-26 10:25:05 +02:00
Stefan Miklosovic dd1c811f87 Provide ability to configure IAuditLogger
Patch by Stefan Miklosovic; reviewed by Vinay Chella and marcuse for CASSANDRA-15748
2020-05-20 16:49:33 +02:00
Bereng b2c5f91fd6
Make clear in the documentation that stress is not a secured tool
patch by Berenguer Blasi; reviewed by Eduard Tudenhöfner for CASSANDRA-15749
2020-05-06 09:57:15 +02:00
Mick Semb Wever 70d8db8558
Updated release process documentation after sha checksum and ASF dev dist changes
patch by Mick Semb Wever; reviewed by Michael Shuler for CASSANDRA-14970
2020-04-24 15:24:55 +02:00
Joseph Lynch 9c1bbf3ac9 Flush with fast compressors by default
Previously Zstd, Deflate and LZ4HC could hold up the flush thread while
flushing due to their slow compression rates. With this patch we always
default to flush with a fast compressor (default to LZ4) and then
compress into the high compression strategy during normal compactions
that follow. Note that if the existing table compressor is fast (e.g.
LZ4 or Snappy) we use that.

Patch by Joey Lynch; reviewed by Dinesh Joshi for CASSANDRA-15379
2020-04-23 23:23:18 -07:00
Erick Ramirez b18900a1f2 Update NEWS.txt with Python 3 support for CQLSH
Patch by Erick Ramirez; Reviewed by David Capwell and Dinesh Joshi for CASSANDRA-15710
2020-04-17 22:48:54 -07:00
Erick Ramirez ca2dc1bfa9 Updated the introductory section of the Installation page
Patch by Erick Ramirez; Reviewed by Jon Haddad for CASSANDRA-15466
2020-04-10 12:44:37 -07:00
Eduard Tudenhöfner 141ea26733
Update docs describing when a CHANGES.txt entry is necessary
and remove 4.0-alpha*  entries in CHANGES.txt that don't touch runtime code
 ref: https://lists.apache.org/thread.html/rde1128131a621e43b0a9c88778398c053a234da0f4c654b82dcbbe0e%40%3Cdev.cassandra.apache.org%3E

 patch by Eduard Tudenhöfner, Mick Semb Wever; reviewed by Mick Semb Wever, Jon Haddad
2020-04-10 21:13:33 +02:00
Jon Haddad jon@jonhaddad.com 4dcee71b2d Added production recommendations and improved compaction doc organization.
Each compaction strategy gets its own page.
No longer recommending m1 instances in AWS.

Patch by Jon Haddad; Reviewed by Jordan West for CASSANDRA-15618.
2020-03-30 14:10:05 -07:00
Serban Teodorescu 03424b4fd7 Document usage of EC2Snitch with intra-region VPC peering
Patch by Serban Teodorescu; Reviewed by Jon Haddad for CASSANDRA-15337
2020-03-30 10:53:29 -07:00
Michael Shuler cb83fbff47 Fix CRLF and trailing whitespace on messaging doc 2020-03-05 11:36:38 -06:00
dvohra 4585bbd131 Added intro to data modeling section.
Patch by dvohra; Reviewed by Erick Ramirez and Jon Haddad for CASSANDRA-15481
2020-03-04 11:46:18 -08:00
dvohra 9688d7d490 Added documentation for transient replication.
Patch by dvohra; Reviewed by Jon Haddad for CASSANDRA-15476.
2020-03-03 15:57:56 -08:00
dvohra d2c546ec9e Add virtual table new feature documentation
Patch by Deepak Vohra; Reviewed by Chris Lohfink CASSANDRA-15473
2020-02-25 15:07:32 -06:00
dvohra 0a675d5a76 Add documentation of dynamo
Patch by Deepak Vohra; Reviewed by Joseph Lynch for CASSANDRA-15486
2020-02-24 21:20:29 -08:00
dvohra 0489b0bc07 Added documentation section on guarantees.
Patch by dvohra; Reviewed by Jon Haddad for CASSANDRA-15482
2020-02-24 14:20:57 -08:00
dvohra 98367b2ebd Added documentation for audit logging.
Patch by dvohra, Reviewed by Jon Haddad for CASSANDRA-15474.
2020-02-24 12:10:54 -08:00
dvohra 43b633dd59 Added streaming documentation.
Patch by dvohra; Reviewed by Jon Haddad for CASSANDRA-15477
2020-02-20 16:31:10 -08:00
dvohra b152a08a8b Added documentation for bulk loading
Patch by dvohra, Reviewed by Jon Haddad for CASSANDRA-15480
2020-02-19 17:56:56 -08:00
dvohra 0bae5eaecc Updated overview documentation.
Patch by dvohra, Reviewed by Jon Haddad for CASSANDRA-15483
2020-02-18 15:35:35 -08:00
dvohra 44eb173245 Added CDC and speculative retry documentation to DDL section.
Patch by dvohra; Reviewed by Jon Haddad for CASSANDRA-15492
2020-02-18 12:46:42 -08:00
dvohra f9b7775138 Added documentation describing new internode-messaging.
Patch by dvohra; Reviewed by Jon Haddad for CASSANDRA-15478
2020-02-17 13:43:09 -08:00
Michael Shuler d2d526a1de Switch from www.apache.org/dist to downloads.apache.org 2020-02-17 14:11:08 -06:00
Michael Shuler 39d170ccd1 Merge branch 'cassandra-3.11' into trunk 2020-02-17 14:09:41 -06:00
Michael Shuler c93c2983cd Switch from www.apache.org/dist to downloads.apache.org 2020-02-17 14:09:01 -06:00
dvohra 8402d1f145 Add documentation of hints
Patch by Deepak Vohra; Reviewed by Joseph Lynch for CASSANDRA-15491
2020-02-16 11:56:17 -08:00
dvohra ff6aa65957 Improved read repair documentation.
Patch by Deepak Vohra; Reviewed by Jon Haddad for CASSANDRA-15485
2020-02-14 11:22:00 -08:00
dvohra 05c70abc63 Add Full Query Logging docs
Patch by Deepak Vohra; Reviewed by Yifan Cai and Dinesh Joshi for CASSANDRA-15475
2020-02-13 17:17:34 -08:00
Jon Haddad 327c7e1aab Ninja fix for line endings in backups. 2020-02-13 17:16:09 -08:00
dvohra d50e203302 Added backup documentation.
Patch by Deepak Vohra; Reviewed by Jon Haddad for CASSANDRA-15479
2020-02-13 16:11:39 -08:00
Jean Carlo Rivera Ura f3ebc0bd1c Fix documentation about activating remote jmx
Patch by Jean Carlo Rivera Ura; Reviewed by David Capwell and Dinesh Joshi for CASSANDRA-15535
2020-02-13 14:11:01 -08:00
yifan-c d3b3dcbb35 Separate exceptions for CAS write timeout exceptions caused by contention and unkown result
Patch by Yifan Cai; reviewed by Alex Petrov and Dinesh Joshi for CASSANDRA-15350
2020-02-03 14:52:17 +01:00
Mick Semb Wever f1e94db34c
Merge branch 'cassandra-3.11' into trunk 2020-01-28 07:58:11 +01:00
nvharikrishna e27810efcc [CASSANDRA-12993] Added license text. 2020-01-10 16:05:38 +00:00
Jeffrey Carpenter 2b52ce219e Added documentation for data modeling section.
Patch by Jeff Carpenter, Reviewed by Jon Haddad for CASSANDRA-15443.
2020-01-07 11:53:16 -08:00