Commit Graph

27374 Commits

Author SHA1 Message Date
Bereng 30ad754d7e Pre hashed passwords in CQL
patch by Robert Stupp and Berenguer Blasi; reviewed by Andres de la Peña for CASSANDRA-17334

Co-authored-by: Robert Stupp <snazy@snazy.de>
Co-authored-by: Berenguer Blasi <berenguerblasi@gmail.com>
2022-03-23 07:20:14 +01:00
Jon Meredith 94580a272e Test Failure: org.apache.cassandra.db.lifecycle.LogTransactionTest.testGetTemporaryFilesSafeAfterObsoletion-cdc
patch by Jon Meredith; reviewed by Josh McKenzie for CASSANDRA-17286
2022-03-22 18:53:11 -06:00
Josh McKenzie fbd6b04791 Log largest memtable on flush at info rather than debug
Patch by Josh McKenzie; reviewed by Brandon Williams for CASSANDRA-17472
2022-03-22 15:18:44 -04:00
Brandon Williams 305cb940c3 Merge branch 'cassandra-4.0' into trunk 2022-03-22 07:42:08 -05:00
Brandon Williams 592cee3064 Suppress CVE-2021-44521
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-17459
2022-03-22 07:35:07 -05:00
Brandon Williams 94c2ad5304 Merge branch 'cassandra-4.0' into trunk 2022-03-22 07:32:13 -05:00
Brandon Williams b465fec770 Upgrade jackson to 2.13.2
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-17460
2022-03-22 07:28:17 -05: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
Sathyanarayanan Saravanamuthu 952263dcea removing unused Python packages in pylib
patch by Sathyanarayanan Saravanamuthu; reviewed by Brandon Williams and Stefan Miklosovic for CASSANDRA-17449
2022-03-21 19:05:25 +01:00
Caleb Rackliffe 4ea3e4c505 Add native transport rate limiter options to example cassandra.yaml, and expose metric for dispatch rate
patch by Caleb Rackliffe; reviewed by Josh McKenzie for CASSANDRA-17423
2022-03-21 11:39:28 -05:00
Andrés de la Peña 143a5e8b06 Add diagnostic events for guardrails
patch by Andrés de la Peña; reviewed by Berenguer Blasi and Stefan Miklosovic for CASSANDRA-17197

Co-authored-by: Andrés de la Peña <a.penya.garcia@gmail.com>
Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com>
2022-03-21 15:52:25 +00:00
Bereng 2f84f492a2 Revert "Pre hashed passwords in CQL"
This reverts commit 6946b304e9.
2022-03-21 13:19:31 +01:00
Bereng 6946b304e9 Pre hashed passwords in CQL
patch by Berenguer Blasi; reviewed by Andres de la Peña for CASSANDRA-17334
2022-03-21 11:18:05 +01:00
Mick Semb Wever 212a76233f
ninja-fix update .build/build-rat.xml 2022-03-21 08:33:10 +01:00
Mick Semb Wever 9711f541b3
Limit GH pull requests to rebases
patch by Mick Semb Wever; reviewed by Benjamin Lerer, Berenguer Blasi, Brandon Williams, Ekaterina Dimitrova, Stefan Miklosovic for CASSANDRA-17419
2022-03-20 23:22:39 +01:00
Stefan Miklosovic 8714f92685 Merge branch 'cassandra-4.0' into trunk 2022-03-20 16:06:35 +01:00
Stefan Miklosovic d48df9169d make sstableloader honour native port option
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-17210
2022-03-20 15:24:33 +01:00
Jon Meredith e417fea126 Merge branch 'cassandra-4.0' into trunk 2022-03-19 08:05:52 -06:00
Jon Meredith f8be6ea60c Merge branch 'cassandra-3.11' into cassandra-4.0 2022-03-19 08:03:34 -06:00
Jon Meredith 311e26bf05 Merge branch 'cassandra-3.0' into cassandra-3.11 2022-03-19 08:02:15 -06:00
Jon Meredith 647ec92db1 ConnectionLimitHandler may leaks connection count if remote connection drops
patch by Jon Meredith; reviewed by Caleb Rackliffe for CASSANDRA-17252
2022-03-19 08:00:58 -06: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
Benjamin Lerer 34a7eba4b8 Merge branch cassandra-4.0 into trunk 2022-03-18 15:08:15 +01:00
cclive1601 e773bbd9c6 Reject snapshot names with special character
Patch by Maxwell Guo, Saranya Krishnakumar and Francisco Guerrero; review
by Benjamin Lerer, Chris Lohfink, Stefan Miklosovic for CASSANDRA-15297

This commit also adds unit tests for the snapshot nodetool command.

Co-authored-by: Saranya Krishnakumar <saranya_k@apple.com>
Co-authored-by: Francisco Guerrero <francisco.guerrero@apple.com>
2022-03-18 15:00:24 +01:00
Brad Schoening 96cecdbaa6 Increase cqlsh version to 6.1.0
Patch by Brad Schoening; reviewed by bereng and brandonwilliams for
CASSANDRA-17432
2022-03-18 06:48:52 -05:00
Caleb Rackliffe 302c6fcf59 Update SUPPORTED_UPGRADE_PATHS to include 3.0 and 3.x to 4.1 paths and remove obsolete tests
patch by Caleb Rackliffe; reviewed by Mick Semb Wever for CASSANDRA-17362
2022-03-17 17:55:32 -05:00
Doug Rohrer f1c1694e43 Support DELETE in CQLSSTableWriter
patch by Doug Rohrer, Eric Evans; reviewed by Sam Tunnicliffe, Yifan Cai for CASSANDRA-14797
2022-03-17 13:25:00 -07:00
Stefan Miklosovic 6913855385 Merge branch 'cassandra-3.11' into trunk 2022-03-17 12:57:50 +01:00
Jon Meredith 431c692b88 Failed inbound internode authentication failures generate ugly warning with stack trace
patch by Jon Meredith; reviewed by David Capwell for CASSANDRA-17068
2022-03-16 15:41:27 -06:00
Maciej Sokol f7009cf340 emit warning on keyspace creation when replication factor is bigger than the number of nodes
patch by Maciej Sokol; reviewed by Brandon Williams and Stefan Miklosovic for CASSANDRA-16747
2022-03-16 21:42:50 +01:00
Brad Schoening 7275443eca change six functions in cqlshlib to native Python 3 ones
patch by Brad Schoening; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-17417
2022-03-16 18:17:36 +01: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
Andrés de la Peña 935bcf1e87 Add guardrails for collection items and size
patch by Andrés de la Peña; reviewed by Berenguer Blasi for CASSANDRA-17153
2022-03-15 13:31:41 +00:00
Jacek Lewandowski 56ec75cc65 Fix file overwriting in PathUtils
Patch by Jacek Lewandowski, reviewed by Benedict for CASSANDRA-17439
2022-03-15 10:58:26 +00:00
Stefan Miklosovic 6f2075acee Merge branch 'cassandra-4.0' into trunk 2022-03-15 10:59:20 +01:00
Brandon Williams f3123a6538 remove futures module requirement from pylib
patch by Brandon Williams; reviewed by Stefan Miklosovic for CASSANDRA-17393
2022-03-15 10:16:27 +01:00
Paulo Motta 951645a1fc Merge branch 'cassandra-4.0' into trunk 2022-03-14 17:25:04 -03:00
Paulo Motta 5f50c797bc Merge branch 'cassandra-3.11' into cassandra-4.0 2022-03-14 17:18:21 -03:00
Paulo Motta 95a6223057 Fix snapshot true size calculation
Patch by Paulo Motta; Reviewed by Brandon Williams and Benjamin Lerer for CASSANDRA-17267
2022-03-14 17:17:37 -03:00
Brandon Williams 3b1ce69fc1 Merge branch 'cassandra-4.0' into trunk 2022-03-14 14:09:31 -05:00
Brandon Williams d9bd03552d Merge branch 'cassandra-3.11' into cassandra-4.0 2022-03-14 14:04:40 -05:00
Brandon Williams 541d769042 Merge branch 'cassandra-3.0' into cassandra-3.11 2022-03-14 14:04:26 -05:00
Brandon Williams 34f59904f5 Require at least ant >= 1.10
Patch by brandonwilliams; reviewed by smiklosovic and paulo for
CASSANDRA-17428
2022-03-14 14:02:29 -05:00
Andrés de la Peña 0ecd48001f Improve guardrails messages
Guardrail messages include a specific mention of the guardrail framework and the name of the violated guardrail,
so users know what is producing the wanrning or failure. Also, guardrails throw their own type of exception.

patch by Andrés de la Peña; reviewed by Josh McKenzie for CASSANDRA-17430
2022-03-14 17:05:18 +00:00
Caleb Rackliffe 7b91e4cc18 Remove all usages of junit.framework and ban them via Checkstyle
patch by Caleb Rackliffe; reviewed by Marcus Eriksson for CASSANDRA-17316

Co-authored-by: Marcus Eriksson <marcuse@apache.org>
2022-03-11 12:32:04 -06:00
Andrés de la Peña a41040ccdc Add guardrails for read/write consistency levels
patch by Andrés de la Peña; reviewed by Caleb Rackliffe for CASSANDRA-17188

Co-authored-by: Andrés de la Peña <a.penya.garcia@gmail.com>
Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com>
2022-03-11 15:36:39 +00:00
Jacek Lewandowski 2b2c6decfa Refactor schema management to allow for schema source pluggability
Patch by Jacek Lewandowski, reviewed by Alex Petrov for CASSANDRA-17044.
2022-03-11 11:03:43 +01:00
Ekaterina Dimitrova 51e6f8ecc1 ninja fix empty line required in test/conf/cassandra.yaml, otherwise cdc and compression unit tests fail 2022-03-10 21:19:27 -05:00