Commit Graph

336 Commits

Author SHA1 Message Date
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
Tibor Répási af82b941a8
Restore 4.1's doc update for virtual table system_views.clients
patch by Tibor Répási; reviewed by Ekaterina Dimitrova, Michael Semb Wever for CASSANDRA-18303, CASSANDRA-17344
2023-03-09 20:55:24 +01:00
Tibor Répási 414f4143e6
Restore 4.1's doc update for virtual table system_views.clients
patch by Tibor Répási; reviewed by Ekaterina Dimitrova, Michael Semb Wever for CASSANDRA-18303, CASSANDRA-17344
2023-03-09 20:47:59 +01:00
Stefan Miklosovic 4841794028
Add MaxSSTableSize and MaxSSTableDuration metrics and propagate them together with local read/write ratio to tablestats
patch by Stefan Miklosovic; reviewed by Brandon Williams and Brad Schoening for CASSANDRA-18283
2023-03-08 16:29:19 +01:00
Mick Semb Wever 86604f5038
Prepare for JDK17 experimental support
Removes the use of CASSANDRA_USE_JDK11 and introduces the build.xml properties `java.default` and `java.supported`.

 patch by Mick Semb Wever; reviewed by Ekaterina Dimitrova for CASSANDRA-18179
2023-02-12 20:43:46 +01:00
Ekaterina Dimitrova a0ec0ae303 Remove scripted UDFs, remove related tests or rewrite some tests to create java UDFs instead, where it makes sense
patch by Ekaterina Dimitrova; reviewed by Michael Semb Wever for CASSANDRA-18252
2023-02-12 10:18:29 -05:00
Stefan Miklosovic 452ad8ce70
Make virtual tables decide if they implicitly enable ALLOW FILTERING
patch by Stefan Miklosovic; reviewed by Aleksey Yeschenko for CASSANDRA-18238
2023-02-09 14:22:26 +01:00
Andrés de la Peña 93e0ae9af6 Add CQL functions for dynamic data masking
patch by Andrés de la Peña; reviewed by Benjamin Lerer for CASSANDRA-17941
2023-01-27 16:07:48 +00:00
Nikita Eshkeev f27790c969 Improve and clean up documentation and fix typos
This patch includes all the changes from the PRs that introduce small
changes related to typos and similar in the documentation. The changes are
accumulated from the following PRs:

- https://github.com/apache/cassandra/pull/206
- https://github.com/apache/cassandra/pull/359
- https://github.com/apache/cassandra/pull/366
- https://github.com/apache/cassandra/pull/390
- https://github.com/apache/cassandra/pull/450
- https://github.com/apache/cassandra/pull/567
- https://github.com/apache/cassandra/pull/615
- https://github.com/apache/cassandra/pull/618
- https://github.com/apache/cassandra/pull/746
- https://github.com/apache/cassandra/pull/984
- https://github.com/apache/cassandra/pull/1052
- https://github.com/apache/cassandra/pull/1088
- https://github.com/apache/cassandra/pull/1274
- https://github.com/apache/cassandra/pull/1378
- https://github.com/apache/cassandra/pull/1404
- https://github.com/apache/cassandra/pull/1504
- https://github.com/apache/cassandra/pull/1540
- https://github.com/apache/cassandra/pull/1544
- https://github.com/apache/cassandra/pull/1673
- https://github.com/apache/cassandra/pull/1697
- https://github.com/apache/cassandra/pull/1722
- https://github.com/apache/cassandra/pull/1815
- https://github.com/apache/cassandra/pull/1830
- https://github.com/apache/cassandra/pull/1863
- https://github.com/apache/cassandra/pull/1865
- https://github.com/apache/cassandra/pull/1879
- https://github.com/apache/cassandra/pull/2062

patch by Nikita Eshkeev, reviewed by Stefan Miklosovic, Lorina Poland, Michael Semb Wever for CASSANDRA-18185

Co-authored-by: kalmant <kalmant@users.noreply.github.com>
Co-authored-by: Dmitry <xotonic@yandex.ru>
Co-authored-by: Tibor Répási <rtib@users.noreply.github.com>
Co-authored-by: Tzach Livyatan <tzach@scylladb.com>
Co-authored-by: Jérôme BAROTIN <jeromebarotin@gmail.com>
Co-authored-by: Giorgio Giuffrè <giorgiogiuffre23@gmail.com>
Co-authored-by: Siddhartha Tiwari <201851127@iiitvadodara.ac.in>
Co-authored-by: Angelo Polo <language.devel@gmail.com>
Co-authored-by: Tjeu Kayim <15987676+TjeuKayim@users.noreply.github.com>
Co-authored-by: 陳傑夫 <chienfuchen32@gmail.com>
Co-authored-by: Bhouse99 <bhouse99@protonmail.com>
Co-authored-by: Matthew Hardwick <MatthewRHardwick@gmail.com>
Co-authored-by: Paul Wouters <paul.wouters@aiven.io>
Co-authored-by: Romain Hardouin <romain_hardouin@yahoo.fr>
Co-authored-by: Guilherme Poleto <gpoleto@alunos.utfpr.edu.br>
Co-authored-by: 陳傑夫 <chienfuchen32@gmail.com>
Co-authored-by: etc-crontab <jujut@free.fr>
Co-authored-by: Prashant Bhuruk <prashantbhuruk88@gmail.com>
Co-authored-by: Jingchuan Zhu <56401528+codingswag998@users.noreply.github.com>
Co-authored-by: Ryan Stewart <ryan.stewart@rackspace.com>
Co-authored-by: utkarsh-agrawal-jm <107914361+utkarsh-agrawal-jm@users.noreply.github.com>
Co-authored-by: Ben Dalling <b.dalling@locp.co.uk>
Co-authored-by: Terry L. Blessing <tlblessing1@gmail.com>
Co-authored-by: gruzilkin <gruzmob@gmail.com>
Co-authored-by: Kevin <kevin.xgr@gmail.com>
Co-authored-by: yziadeh <121903189+yziadeh@users.noreply.github.com>
Co-authored-by: Lorina Poland <lorina@datastax.com>
Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
2023-01-26 14:42:47 +01:00
Sharan Foga 0b47c57184 Add documentation for partition denylisting
patch by Sharan Foga; reviewed by Stefan Miklosovic and Josh McKenzie for CASSANDRA-17547
2023-01-17 08:56:07 +01:00
Andrés de la Peña b7c7972a51 Add CQL scalar functions for collection aggregation
patch by Andrés de la Peña; reviewed by Benjamin Lerer and Berenguer Blasi for CASSANDRA-18060
2022-11-25 14:08:00 +00:00
XV4DE 88dc64d208 Add Mathematical Functions
Patch by Simon Chess; review by Benjamin Lerer Ekaterina Dimitrova for CASSANDRA-17221

This patch add the abs, exp, log, log10, and round functions for the numeric types.
2022-11-22 18:25:02 +01:00
Ekaterina Dimitrova fb09a5c1bb Merge branch 'cassandra-4.1' into trunk 2022-11-18 15:44:58 -05:00
Ekaterina Dimitrova bc16752bd7 Restore Virtual Tables page, and update nav for new pages
patch by Ekaterina Dimitrova; reviewed by Mick Semb Wever for CASSANDRA-17976

Co-authored-by: Mick Semb Wever <mck@apache.org>
2022-11-18 15:33:49 -05:00
Mick Semb Wever 51cc20a9f8
Merge branch 'cassandra-4.1' into trunk
* cassandra-4.1:
  Update What's New in 4.1 docs page
  WEBSITE - Updated What's New page for 4.1
2022-11-04 13:41:29 +01:00
Mick Semb Wever 162d504be0
Update What's New in 4.1 docs page
patch by Mick Semb Wever; reviewed by Ekaterina Dimitrova, Berenguer Blasi, Erick Ramirez for CASSANDRA-17976
2022-11-04 13:39:06 +01:00
Erick Ramirez e027229238 WEBSITE - Updated What's New page for 5.0 in trunk
patch by Michael Semb Wever, Erick Ramirez; reviewed by Ekaterina Dimitrova, Berenguer Blasi, Erick Ramirez for CASSANDRA-17976

Co-authored by: Mick Semb Wever <mck@apache.org>
Co-authored by: Erick Ramirez <erickramirezau@apache.org>
2022-11-04 13:47:44 +11:00
Erick Ramirez a4b90fbc01 WEBSITE - Updated What's New page for 4.1
patch by Michael Semb Wever, Erick Ramirez; reviewed by Ekaterina Dimitrova, Berenguer Blasi, Erick Ramirez for CASSANDRA-17976

Co-authored by: Mick Semb Wever <mck@apache.org>
Co-authored by: Erick Ramirez <erickramirezau@apache.org>
2022-11-04 13:39:32 +11:00
Jérôme Barotin 83b6f04496 Fix formatting of metrics documentation
patch by Jérôme Barotin; reviewed by Stefan Miklosovic for CASSANDRA-17961
2022-10-20 12:02:41 +02:00
Natnael Adere 89e01ea2eb Add Unavailables metric for CASWrite in the docs
patch by Natnael Adere; reviewed by David Capwell for CASSANDRA-16357
2022-10-19 11:02:37 -07:00
Stefan Miklosovic c089818881 Make Cassandra logs able to be viewed in the virtual table system_views.system_logs
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-17948
2022-10-18 14:13:51 +02:00
Ekaterina Dimitrova d80d934ed2 Merge branch 'cassandra-4.1' into trunk 2022-09-19 18:32:14 -04:00
Ekaterina Dimitrova 4c85c6a403 key_cache_save_period, row_cache_save_period, counter_cache_save_period are not deprecated and we should not emit deprecation warning on startup for them
Patch by Ekaterina Dimitrova; reviewed by Stefan Miklosovic for CASSANDRA-17904
2022-09-19 18:10:36 -04:00
Yifan Cai 4aa3bbda79 Merge branch 'cassandra-4.1' into trunk 2022-08-19 14:24:26 -07:00
Francisco Guerrero 83c169ec9e Fix BulkLoader to load entireSSTableThrottle and entireSSTableInterDcThrottle
patch by Francisco Guerrero; reviewed by Ekaterina Dimitrova, Yifan Cai for CASSANDRA-17677
2022-08-19 14:19:53 -07:00
Ekaterina Dimitrova b70e14e2ac Merge branch 'cassandra-4.1' into trunk 2022-08-17 18:33:20 -04:00
Ekaterina Dimitrova 43036ecadd Update docs and NEWS.txt; config docs are reachable now on the website
patch by Ekaterina Dimitrova; reviewed by Caleb Rackliffe for CASSANDRA-17778
2022-08-17 18:28:01 -04:00
Mick Semb Wever cbc127ab79
Merge branch 'cassandra-4.1' into trunk 2022-08-16 21:50:57 +02:00
Mick Semb Wever e02923305c
Merge branch 'cassandra-4.0' into cassandra-4.1 2022-08-16 21:48:01 +02:00
Mick Semb Wever 5fafa709fb
Merge branch 'cassandra-3.11' into cassandra-4.0 2022-08-16 21:46:36 +02:00
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
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
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
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
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 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 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 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