Commit Graph

7026 Commits

Author SHA1 Message Date
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
Caleb Rackliffe 28eea6e8cd Runtime-configurable YAML option to prohibit USE statements
patch by Caleb Rackliffe; reviewed by David Capwell for CASSANDRA-17318
2022-02-04 14:24:51 -06:00
David Capwell df16b3750d When streaming sees a ClosedChannelException this triggers the disk failure policy
patch by David Capwell, Francisco Guerrero; reviewed by Caleb Rackliffe, Dinesh Joshi for CASSANDRA-17116
2022-02-04 11:36:52 -08:00
Jon Meredith 6614c08c64 Merge branch 'cassandra-4.0' into trunk 2022-02-03 14:28:58 -07:00
Jon Meredith 965fe0decf Merge branch 'cassandra-3.11' into cassandra-4.0 2022-02-03 14:27:16 -07:00
Jon Meredith beb456305a Merge branch 'cassandra-3.0' into cassandra-3.11 2022-02-03 14:24:05 -07:00
Jon Meredith 9ff28fc717 Fixes for intermittent in-JVM dtest failures
patch by Jon Meredith, Caleb Rackliffe, Marcus Eriksson, Benedict Elliott Smith <benedict@apache.org>; reviewed by Caleb Rackliffe for CASSANDRA-17256
2022-02-03 14:22:46 -07:00
Aleksandr Sorokoumov 35dbcc2c2d CASSANDRA-15215 Use DataOutputPlus.writeBytes in VIntCoding.writeUnsignedVInt
In the cases where VInt occupies less than or equal to 8 bytes
and the underlying buffer has at least 8 bytes, VIntCoding writes the
entire register in a single operation and then adjusts the buffer position.

Co-authored-by: Benedict Elliott Smith <benedict@apache.org>
Co-authored-by: Branimir Lambov <branimir.lambov@datastax.com>
2022-02-02 12:13:04 +00: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
nvharikrishna 23e88ad0c8 Remove use of deprecated File classes in tests
Patch by Venkata Harikrishna Nukala; reviewed by brandonwilliams and
bereng for CASSANDRA-17126
2022-01-31 10:21:00 -06:00
Jacek Lewandowski d543dae2cd
Fix restarting a node when other nodes are down in dtests
patch by Jacek Lewandowski; reviewed by Michael Semb Wever for CASSANDRA-17214
2022-01-26 13:35:47 +01:00
Bereng 02dad368f1 Merge branch 'cassandra-4.0' into trunk 2022-01-26 08:14:28 +01:00
Bereng 95257c0805 Sstableverify unit test operate on SSTables
patch by Brian Houser; reviewed by Andres de la Peña, Berenguer Blasi for CASSANDRA-17009

Co-authored-by: Brian Houser <brianh@amazon.com>
Co-authored-by: Berenguer Blasi <berenguerblasi@gmail.com>
2022-01-26 08:09:03 +01: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 0a6be7e412 Substitute ant script and scriptdef with custom ant tasks
patch by Ekaterina Dimitrova; reviewed by Michaem Semb Wever for CASSANDRA-17224
2022-01-24 10:12:51 -05:00
Brandon Williams 7e68448235 Merge branch 'cassandra-3.0' into cassandra-3.11 2022-01-20 09:48:13 -06:00
Brandon Williams 28004d9c60 Upgrade logback to 1.2.9
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-17204

includes backported test changes from CASSANDRA-14183
2022-01-20 09:47:11 -06:00
Francisco Guerrero 0dc5a289e8 Preserve tests that use BigInt numbers
Patch by Francisco Guerrero; reviewed by brandonwilliams and ycai for
CASSANDRA-17133
2022-01-19 16:30:52 -06:00
Francisco Guerrero e0a61f73b9 Revert "Add unix time conversion functions"
This reverts commit 8ddcd43b0c.
2022-01-19 16:30:15 -06:00
Marcus Eriksson 96c80f0b89 Merge branch 'cassandra-4.0' into trunk 2022-01-17 14:13:54 +01:00
Marcus Eriksson 9a1bb62822 Merge branch 'cassandra-3.11' into cassandra-4.0 2022-01-17 14:09:45 +01:00
Marcus Eriksson b5d0626824 Merge branch 'cassandra-3.0' into cassandra-3.11 2022-01-17 14:08:03 +01:00
Marcus Eriksson b1a8a56c56 Avoid race in AbstractReplicationStrategy endpoint caching
Patch by marcuse; reviewed by Alex Petrov and Jon Meredith for CASSANDRA-16673

Co-authored-by: Jon Meredith <jonmeredith@apache.org>
2022-01-17 14:06:25 +01:00
Marcus Eriksson df1a2d4c3d Merge branch 'cassandra-4.0' into trunk 2022-01-17 09:13:32 +01:00
Marcus Eriksson 98e798f567 Don't block gossip when clearing repair snapshots
Patch by marcuse; reviewed by David Capwell for CASSANDRA-17168
2022-01-17 09:11:00 +01:00
Josh McKenzie 89c6addb50 Prewarm role and credentials caches to avoid timeouts at startup
Patch by Blake Eggleston; reviewed by Sam Tunnicliffe, Jason Brown, and Caleb Rackliffe for CASSANDRA-16958

Co-authored by: Blake Eggleston <bdeggleston@gmail.com>
Co-authored by: Josh McKenzie <jmckenzie@apache.org>
2022-01-13 15:45:19 -05:00
Aleksei Zotov bc20bddceb Make capacity/validity/updateinterval/activeupdate for Auth Caches configurable via nodetool
patch by Aleksei Zotov; reviewed by Josh McKenzie for CASSANDRA-17063
2022-01-10 13:19:22 +04:00
Jon Meredith 57a7b8a70d Merge branch 'cassandra-3.11' into cassandra-4.0 2022-01-06 14:32:58 -07:00
Jon Meredith 78f50573ad Merge branch 'cassandra-3.0' into cassandra-3.11 2022-01-06 14:31:42 -07:00
Jon Meredith 071ecb5246 Race in CompactionExecutorTest
patch by Jon Meredith; reviewed by Josh McKenzie for CASSANDRA-17239
2022-01-06 14:30:22 -07:00
Kanthi Subramanian 9b291f18ab Add startup check for read_ahead_kb setting
Patch by Kanthi Subramanian; Reviewed by Paulo Motta and Brandon Williams for CASSANDRA-16436

Closes #1354
2022-01-03 18:39:17 -03:00
Paulo Motta 481c103951 Merge branch 'cassandra-4.0' into trunk 2022-01-03 11:57:42 -03:00
tejavadali c420d754d8 CASSANDRA-16308: Add droppable tombstone metrics to nodetool tablestats
patch by Krishna Vadali; reviewed by Paulo Motta and Brandon Williams for CASSANDRA-16308

Closes #1359
2022-01-03 11:56:14 -03:00
Andrés de la Peña 95522f85d5 Add guardrail for list operations that require read before write
patch by Andrés de la Peña; reviewed by Ekaterina Dimitrova for CASSANDRA-17154
2021-12-17 16:50:20 +00:00
Andrés de la Peña bae92ee139 Migrate thresholds for number of keyspaces and tables to guardrails
This adds a new guardrail for limiting the number of keyspaces. It also  marks the previous not-guardrail thresholds
for keyspaces and tables as deprecated in favour of the equivalent guardrails. GuardrailsOptions is modified to always
log updates on guardrails config. A small refactor decouples guardrails from their configuration interfaces.

patch by Andrés de la Peña; reviewed by Ekaterina Dimitrova for CASSANDRA-17195
2021-12-17 16:33:00 +00:00
Kowalczyk bf1446cd85 Add guardrail for query page size
patch by Bartlomiej; reviewed by Andrés de la Peña and Brandon Williams for CASSANDRA-17189
2021-12-16 17:20:58 +00:00
Kowalczyk 75482d0a8c Simplify SchemaCQLHelperTest methods
Patch by Bartlomiej Kowalczyk; reviewed by Ekaterina Dimitrova and
Benjamin Lerer for CASSANDRA-17181
2021-12-15 18:37:10 +01:00
Francisco Guerrero a41cdd64b2 Allow column_index_size_in_kb to be configurable through nodetool
patch by Francisco Guerrero; reviewed by Dinesh Joshi, Yifan Cai for CASSANDRA-17121
2021-12-14 11:28:39 -08:00
Stefan Miklosovic c64ff69bd9 Emit a metric for number of local read and write calls
patch by Damien Stevenson; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-10023
2021-12-13 18:46:19 +01:00
Joseph Lynch 97b47c3b5f Merge branch 'cassandra-4.0' into trunk 2021-12-09 10:31:39 -05:00
Joseph Lynch e73d05bf85 Merge branch 'cassandra-3.11' into cassandra-4.0 2021-12-09 10:29:08 -05:00
Joseph Lynch 1fce84f983 Merge branch 'cassandra-3.0' into cassandra-3.11 2021-12-09 10:26:00 -05:00
Venkata Harikrishna Nukala 1911a887e8 Fix slow keycache load which blocks startup for tables with many sstables.
Patch by Venkata Harikrishna Nukala; reviewed by Marcus Eriksson and Joseph Lynch for CASSANDRA-14898
2021-12-09 10:14:16 -05:00
Bereng 507c6f7607 Merge branch 'cassandra-4.0' into trunk 2021-12-09 07:43:49 +01:00
Bereng 8cef32ae83 Flaky CompactionsBytemanTest
patch by Berenguer Blasi; reviewed by Andres de la Peña for CASSANDRA-17171
2021-12-09 07:40:56 +01:00
Yifan Cai d9460a04da Add non-blocking mode for CDC writes
patch by Yifan Cai; reviewed by Josh McKenzie for CASSANDRA-17001
2021-12-05 21:16:41 -08:00
Andrés de la Peña 7871a28542 Add guardrails framework prototype
patch by Andrés de la Peña; reviewed by David Capwell and Stefan Miklosovic for CASSANDRA-17147

Co-authored-by: Sylvain Lebresne <lebresne@gmail.com>
Co-authored-by: Andrés de la Peña <a.penya.garcia@gmail.com>
Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com>
Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com>
Co-authored-by: Jakub Żytka <jakub.zytka@datastax.com>
2021-12-03 15:20:20 +00:00
Jacek Lewandowski cede538e02 Relax schema synchronization when opening a keyspace
Patch by Jacek Lewandowski; Reviewed by Branimir Lambov and Alex Petrov for CASSANDRA-17071.
2021-12-03 12:47:57 +01:00
Bereng 7fd20bff2b Merge branch 'cassandra-4.0' into trunk 2021-12-03 11:36:15 +01:00