Marcus Eriksson [Wed, 4 May 2022 06:18:49 +0000 (08:18 +0200)]
Merge branch 'cassandra-4.1' into trunk
Marcus Eriksson [Thu, 28 Apr 2022 13:50:11 +0000 (15:50 +0200)]
Use TimeUUID serializer for BATCH_REMOVE_REQ
Patch by marcuse; reviewed by Benedict Elliott Smith for CASSANDRA-17451
Ekaterina Dimitrova [Wed, 4 May 2022 01:03:49 +0000 (21:03 -0400)]
Merge branch 'cassandra-4.1' into trunk
Ekaterina Dimitrova [Sat, 30 Apr 2022 00:45:54 +0000 (20:45 -0400)]
Fix CircleCI MIDRES configuration
patch by Ekaterina Dimitrova; reviewed by Andres de la Peña for CASSANDRA-17563
Mick Semb Wever [Tue, 3 May 2022 18:46:45 +0000 (20:46 +0200)]
Merge branch 'cassandra-4.1' into trunk
Mick Semb Wever [Mon, 2 May 2022 15:17:46 +0000 (17:17 +0200)]
Update trunk to version 4.2
Update jvm-dtest supported upgrade paths.
Update circeci to build 4.1 dtest jar
patch by Mick Semb Wever; reviewed by Ekaterina Dimitrova for CASSANDRA-17589
Mick Semb Wever [Sun, 1 May 2022 21:44:19 +0000 (23:44 +0200)]
Merge branch 'cassandra-4.1' into trunk
Mick Semb Wever [Sun, 1 May 2022 21:44:03 +0000 (23:44 +0200)]
Merge branch 'cassandra-4.0' into cassandra-4.1
Mick Semb Wever [Sun, 1 May 2022 21:42:53 +0000 (23:42 +0200)]
ninja-fix: CHANGES.txt for new 4.0.4 release candidate
Mick Semb Wever [Sun, 1 May 2022 21:22:08 +0000 (23:22 +0200)]
Create release branch cassandra-4.1, increment trunk version to 4.2
Paulo Motta [Fri, 29 Apr 2022 23:20:19 +0000 (20:20 -0300)]
Add auto_snapshot_ttl configuration
Patch by Paulo Motta; Reviewed by Stefan Miklosovic for CASSANDRA-16790
Co-authored-by: fibersel <0583463@gmail.com>
Paulo Motta [Thu, 28 Apr 2022 22:03:03 +0000 (19:03 -0300)]
List snapshots of dropped tables
Patch by Paulo Motta; Reviewed by Stefan Miklosovic and Brandon Williams or CASSANDRA-16843
Jacek Lewandowski [Tue, 26 Apr 2022 12:43:49 +0000 (14:43 +0200)]
Add information info whether sstables are dropped or not to SchemaChangeListener
patch by Jacek Lewandowski; reviewed by Alex Petrov for CASSANDRA-17582
Branimir Lambov [Fri, 14 May 2021 13:13:35 +0000 (16:13 +0300)]
Add memtable API (CEP-11)
patch by Branimir Lambov; reviewed by Andrés de la Peña and Caleb Rackliffe for CASSANDRA-17034
Jacek Lewandowski [Thu, 28 Apr 2022 04:18:19 +0000 (06:18 +0200)]
Save sstable id as string in activity table
patch by Jacek Lewandowski; reviewed by Andrés de la Peña and Ekaterina Dimitrova for CASSANDRA-17585
Stefan Miklosovic [Mon, 28 Mar 2022 17:46:11 +0000 (19:46 +0200)]
implement startup check to prevent Cassandra to potentially spread zombie data
patch by Stefan Miklosovic; reviwed by Paulo Motta and Brandon Williams for CASSANDRA-17180
Marcus Eriksson [Thu, 7 Apr 2022 12:43:40 +0000 (14:43 +0200)]
Fail starting when the same parameter exists more than once in cassandra.yaml
Patch by marcuse; reviewed by David Capwell and Ekaterina Dimitrova for CASSANDRA-17379
Savni Nagarkar [Thu, 28 Apr 2022 20:18:39 +0000 (13:18 -0700)]
Migrate threshold for minimum keyspace replication factor to guardrails
patch by Savni Nagarkar; reviewed by Andres de la Peña, David Capwell for CASSANDRA-17212
Brandon Williams [Thu, 28 Apr 2022 14:10:47 +0000 (09:10 -0500)]
Merge branch 'cassandra-4.0' into trunk
Brandon Williams [Thu, 28 Apr 2022 14:09:11 +0000 (09:09 -0500)]
Merge branch 'cassandra-3.11' into cassandra-4.0
Brandon Williams [Wed, 13 Apr 2022 19:29:28 +0000 (14:29 -0500)]
Upgrade jackson-databind to 2.13.2.2
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-17556
Stefan Miklosovic [Wed, 27 Apr 2022 19:03:00 +0000 (21:03 +0200)]
Revert "Add a system property to set hostId if not yet initialized"
This reverts commit
33ff36cc42a083311065dee56adc1d72d6866f2d.
patch by Stefan Miklosovic; reviewed by Brandon Williams and Sam Tunnicliffe for CASSANDRA-14582
Marcus Eriksson [Tue, 26 Apr 2022 08:08:19 +0000 (10:08 +0200)]
Bump timeouts in CasCriticalSectionTest
Patch by marcuse; reviewed by Brandon Williams for CASSANDRA-17453
Jon Meredith [Wed, 27 Apr 2022 18:03:44 +0000 (12:03 -0600)]
Merge branch 'cassandra-4.0' into trunk
Jon Meredith [Wed, 27 Apr 2022 18:01:42 +0000 (12:01 -0600)]
Merge branch 'cassandra-3.11' into cassandra-4.0
Jon Meredith [Wed, 27 Apr 2022 17:59:52 +0000 (11:59 -0600)]
Merge branch 'cassandra-3.0' into cassandra-3.11
Jon Meredith [Tue, 26 Apr 2022 16:16:07 +0000 (10:16 -0600)]
Schema mutations may not be completed on drain
patch by Jon Meredith; reviewed by Caleb Rackliffe for CASSANDRA-17524
Josh McKenzie [Mon, 18 Apr 2022 18:53:17 +0000 (14:53 -0400)]
Add guardrail to disallow TRUNCATE and DROP TABLE commands
Patch by Josh McKenzie; reviewed by Aleksey Yeschenko for CASSANDRA-17558
Bhouse99 [Wed, 30 Mar 2022 20:37:22 +0000 (13:37 -0700)]
add plugin support for CQLSH
patch by Brian Houser; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-16456
Savni Nagarkar [Thu, 17 Feb 2022 19:29:58 +0000 (13:29 -0600)]
Add guardrail to disallow querying with ALLOW FILTERING
patch by Savni Nagarkar; reviewed by Andres de la Peña, David Capwell and Josh McKenzie for CASSANDRA-17370
Marcus Eriksson [Thu, 3 Dec 2020 10:29:38 +0000 (11:29 +0100)]
Track top partitions by size and tombstone count
Patch by marcuse; reviewed by David Capwell and Yifan Cai for CASSANDRA-16310
Andrés de la Peña [Sat, 23 Apr 2022 12:52:06 +0000 (13:52 +0100)]
Make GuardrailDiskUsageTest deterministic
patch by Andrés de la Peña; reviewed by Ekaterina Dimitrova for CASSANDRA-17576
David Capwell [Sat, 23 Apr 2022 01:35:26 +0000 (18:35 -0700)]
Enhance SnakeYAML properties to be reusable outside of YAML parsing, support camel case conversion to snake case, and add support to ignore properties
patch by David Capwell; reviewed by Caleb Rackliffe, Stefan Miklosovic for CASSANDRA-17166
David Capwell [Thu, 21 Apr 2022 21:37:59 +0000 (14:37 -0700)]
nodetool compact should support using a key string to find the range to avoid operators having to manually do this
patch by David Capwell; reviewed by Marcus Eriksson for CASSANDRA-17537
Benjamin Lerer [Fri, 22 Apr 2022 17:28:32 +0000 (19:28 +0200)]
Merge branch cassandra-4.0 into trunk
Benedict Elliott Smith [Fri, 10 Dec 2021 17:39:55 +0000 (18:39 +0100)]
Optimise BTree build, update and transform operations
Patch Benedict Elliott Smith; reviewed by Branimir Lambov and Benjamin Lerer for CASSANDRA-15510
Andrés de la Peña [Fri, 22 Apr 2022 16:30:22 +0000 (17:30 +0100)]
Merge branch 'cassandra-4.0' into trunk
Andrés de la Peña [Wed, 13 Apr 2022 11:09:17 +0000 (12:09 +0100)]
Split ReadRepairQueryTypesTest to avoid JUnit timeouts
patch by Andrés de la Peña; reviewed by Caleb Rackliffe for CASSANDRA-17543
Andrés de la Peña [Fri, 22 Apr 2022 15:36:07 +0000 (16:36 +0100)]
Add guardrail for data disk usage
patch by Andrés de la Peña; reviewed by Ekaterina Dimitrova and Stefan Miklosovic for CASSANDRA-17150
Co-authored-by: Andrés de la Peña <a.penya.garcia@gmail.com>
Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com>
Co-authored-by: Eduard Tudenhoefner <etudenhoefner@gmail.com>
Tibor Répási [Wed, 20 Apr 2022 20:10:13 +0000 (22:10 +0200)]
add datapaths subcommand to nodetool
patch by Tibor Repasi; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-17568
Benjamin Lerer [Thu, 4 Nov 2021 15:47:16 +0000 (16:47 +0100)]
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.
David Capwell [Wed, 20 Apr 2022 22:15:34 +0000 (15:15 -0700)]
Migrate track_warnings to more standard naming conventions and use latest configuration types rather than long
patch by David Capwell; reviewed by Andres de la Peña, Caleb Rackliffe for CASSANDRA-17560
ROCHETEAU Antoine [Thu, 6 Jan 2022 12:46:50 +0000 (13:46 +0100)]
CONTAINS and CONTAINS KEY support for Lightweight Transactions
patch by ROCHETEAU Antoine; reviewed by Benjamin Lerer, Berenguer Blasi for CASSANDRA-10537
Brad Schoening [Tue, 22 Mar 2022 13:41:52 +0000 (09:41 -0400)]
Add teardown to test_cqlsh_completion
Patch by Brad Schoening; reviewed by brandonwilliams and smiklosovic for
CASSANDRA-17465
Ekaterina Dimitrova [Tue, 22 Mar 2022 23:56:52 +0000 (19:56 -0400)]
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>
Ekaterina Dimitrova [Sun, 17 Apr 2022 18:38:37 +0000 (14:38 -0400)]
Merge branch 'cassandra-4.0' into trunk
Ekaterina Dimitrova [Sun, 17 Apr 2022 18:24:55 +0000 (14:24 -0400)]
Merge branch 'cassandra-3.11' into cassandra-4.0
Ekaterina Dimitrova [Sun, 17 Apr 2022 18:20:39 +0000 (14:20 -0400)]
Merge branch 'cassandra-3.0' into cassandra-3.11
Ekaterina Dimitrova [Fri, 8 Apr 2022 19:22:59 +0000 (15:22 -0400)]
Fix data corruption in AbstractCompositeType due to static boolean byte buffers
patch by Stefania Alborghetti and Marcus Eriksson; reviewed by Marcus Eriksson, Benjamin Lerer and Ekaterina Dimitrova for CASSANDRA-14752
Co-authored-by: Stefania Alborghetti <stefania.alborghetti@datastax.com>
Co-authored-by: Marcuse Eriksson <marcuse@apache.orgp>
Stefan Miklosovic [Mon, 11 Apr 2022 14:25:15 +0000 (16:25 +0200)]
Shutdown ScheduledExecutors as part of node drainage
patch by Stefan Miklosovic; reviewed by Jon Meredith for CASSANDRA-17493
Josh McKenzie [Tue, 22 Mar 2022 15:35:36 +0000 (11:35 -0400)]
Provide JMX endpoint to allow transient logging of blocking read repairs
Patch by Josh McKenzie; reviewed by David Capwell for CASSANDRA-17471
Co-authored-by: Aleksey Yeschenko <aleksey@apache.org>
Co-aurhoted-by: Josh McKenzie <jmckenzie@apache.org>
Josh McKenzie [Thu, 31 Mar 2022 15:09:07 +0000 (11:09 -0400)]
Add guardrail for GROUP BY queries
Patch by Josh McKenzie; reviewed by David Capwell and Andres de la Pena for CASSANDRA-17509
Brad Schoening [Tue, 12 Apr 2022 02:32:55 +0000 (22:32 -0400)]
make pylib PEP and pylint compliant
Brandon Williams [Wed, 13 Apr 2022 12:11:18 +0000 (07:11 -0500)]
Merge branch 'cassandra-4.0' into trunk
Brandon Williams [Mon, 4 Apr 2022 19:40:09 +0000 (14:40 -0500)]
Add procps Debian dependency
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-17516
Brandon Williams [Mon, 4 Apr 2022 19:39:46 +0000 (14:39 -0500)]
Add procps-ng RPM dependency
Patch by Dylan Richardson; reviewed by brandonwilliams and bereng for
CASSANDRA-17516
Brandon Williams [Wed, 13 Apr 2022 12:07:51 +0000 (07:07 -0500)]
Merge branch 'cassandra-3.11' into cassandra-4.0
Brandon Williams [Mon, 4 Apr 2022 19:40:09 +0000 (14:40 -0500)]
Add procps Debian dependency
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-17516
Brandon Williams [Mon, 4 Apr 2022 19:39:46 +0000 (14:39 -0500)]
Add procps-ng RPM dependency
Patch by Dylan Richardson; reviewed by brandonwilliams and bereng for
CASSANDRA-17516
Brandon Williams [Wed, 13 Apr 2022 12:03:36 +0000 (07:03 -0500)]
Merge branch 'cassandra-3.0' into cassandra-3.11
Brandon Williams [Mon, 4 Apr 2022 19:40:09 +0000 (14:40 -0500)]
Add procps Debian dependency
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-17516
Brandon Williams [Mon, 4 Apr 2022 19:39:46 +0000 (14:39 -0500)]
Add procps-ng RPM dependency
Patch by Dylan Richardson; reviewed by brandonwilliams and bereng for
CASSANDRA-17516
Brandon Williams [Mon, 4 Apr 2022 19:40:09 +0000 (14:40 -0500)]
Add procps Debian dependency
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-17516
Brandon Williams [Mon, 4 Apr 2022 19:39:46 +0000 (14:39 -0500)]
Add procps-ng RPM dependency
Patch by Dylan Richardson; reviewed by brandonwilliams and bereng for
CASSANDRA-17516
Bernardo Botella Corbi [Tue, 12 Apr 2022 18:06:41 +0000 (11:06 -0700)]
Fix flaky test LocalReadSizeWarningTest#failThresholdSinglePartition
patch by Bernardo Botella Corbi; reviewed by Andres de la Peña, Yifan Cai for CASSANDRA-17217
David Capwell [Tue, 12 Apr 2022 18:54:09 +0000 (11:54 -0700)]
Merge branch 'cassandra-4.0' into trunk
David Capwell [Tue, 12 Apr 2022 18:46:53 +0000 (11:46 -0700)]
Merge branch 'cassandra-3.11' into cassandra-4.0
David Capwell [Tue, 12 Apr 2022 18:45:34 +0000 (11:45 -0700)]
Merge branch 'cassandra-3.0' into cassandra-3.11
David Capwell [Mon, 11 Apr 2022 16:38:40 +0000 (09:38 -0700)]
Add support for vnodes in jvm-dtest
patch by David Capwell; reviewed by Alex Petrov, Josh McKenzie for CASSANDRA-17332
Savni Nagarkar [Tue, 29 Mar 2022 19:40:55 +0000 (14:40 -0500)]
Remove guardrails global enable flag
patch by Savni Nagarkar; reviewed by Andrés de la Peña and Joshua McKenzie for CASSANDRA-17499
Jon Meredith [Fri, 8 Apr 2022 20:39:37 +0000 (14:39 -0600)]
Merge branch 'cassandra-4.0' into trunk
Jon Meredith [Fri, 8 Apr 2022 16:30:38 +0000 (10:30 -0600)]
Clean up schema migration coordinator and tests
patch by Jon Meredith; reviewed by David Capwell for CASSANDRA-17533
David Capwell [Fri, 8 Apr 2022 17:16:41 +0000 (10:16 -0700)]
Clients using JMX are unable to handle non-standard java types but we leak this into our interfaces
patch by David Capwell; reviewed by Alex Petrov, Andres de la Peña for CASSANDRA-17527
Marcus Eriksson [Thu, 7 Apr 2022 07:06:53 +0000 (09:06 +0200)]
Remove stress server functionality
Patch by marcuse; reviewed by Brandon Williams for CASSANDRA-17535
Caleb Rackliffe [Tue, 5 Apr 2022 20:20:28 +0000 (15:20 -0500)]
Reduce histogram snapshot long[] allocation overhead during speculative read and write threshold updates
patch by Caleb Rackliffe; reviewed by Josh McKenzie for CASSANDRA-17523
Josh McKenzie [Tue, 29 Mar 2022 18:18:10 +0000 (14:18 -0400)]
Add guardrail to disallow creation of secondary indexes
Patch by Josh McKenzie; reviewed by Chris Lohfink for CASSANDRA-17498
Josh McKenzie [Wed, 30 Mar 2022 18:19:07 +0000 (14:19 -0400)]
Add guardrail to disallow creation of uncompressed sstables
Patch by Josh McKenzie; reviewed by David Capwell for CASSANDRA-17504
Josh McKenzie [Fri, 1 Apr 2022 18:34:03 +0000 (14:34 -0400)]
Add guardrail to disallow creation of new COMPACT STORAGE tables
Patch by Josh McKenzie; reviewed by Caleb Rackliffe for CASSANDRA-17522
David Capwell [Wed, 6 Apr 2022 18:52:48 +0000 (11:52 -0700)]
repair vtables should expose a completed field due to lack of filtering options in CQL
patch by David Capwell; reviewed by Chris Lohfink, Zhao Yang for CASSANDRA-17520
Brad Schoening [Tue, 5 Apr 2022 20:10:00 +0000 (16:10 -0400)]
remove outdated code from cqlsh
Patch by Brad Schoening; reviewed by brandonwilliams and smiklosovic for
CASSANDRA-17490
Brad Schoening [Tue, 5 Apr 2022 19:09:14 +0000 (15:09 -0400)]
remove support for deprecated version specific TLS in Python 3.6
patch by Brad Schoening; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-17365
Bereng [Wed, 6 Apr 2022 07:40:13 +0000 (09:40 +0200)]
Ninja fix changes.txt
patch by Berenguer Blasi; reviewed by Berenguer Blasi for CASSANDRA-16916
Brad Schoening [Sat, 26 Mar 2022 18:47:23 +0000 (14:47 -0400)]
resolve several pylint issues in cqlsh.py and pylib
patch by Brad Schoening; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-17480
Jogesh Anand [Sun, 14 Nov 2021 22:45:35 +0000 (14:45 -0800)]
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
Bereng [Tue, 29 Mar 2022 06:13:04 +0000 (08:13 +0200)]
Adding docs for pre hashed passwords
patch by Berenguer Blasi; reviewed by Andres de la Peña for CASSANDRA-17494
Jon Meredith [Fri, 1 Apr 2022 18:58:02 +0000 (12:58 -0600)]
Streaming sessions longer than 3 minutes fail with timeout
patch by Jon Meredith; reviewed by Benedict Elliott Smith, Caleb Rackliffe for CASSANDRA-17510
David Capwell [Fri, 1 Apr 2022 14:53:41 +0000 (07:53 -0700)]
Add ability to track state in repair
patch by David Capwell; reviewed by Zhao Yang for CASSANDRA-15399
Brad Schoening [Thu, 31 Mar 2022 17:16:22 +0000 (13:16 -0400)]
remove unused 'parse' module
Patch by Brad Schoening; reviewed by brandonwilliams and smiklosovic for
CASSANDRA-17484
Brandon Williams [Thu, 31 Mar 2022 12:22:09 +0000 (07:22 -0500)]
Merge branch 'cassandra-4.0' into trunk
Brandon Williams [Thu, 31 Mar 2022 12:21:59 +0000 (07:21 -0500)]
Merge branch 'cassandra-3.11' into cassandra-4.0
Brandon Williams [Thu, 24 Mar 2022 12:35:50 +0000 (07:35 -0500)]
Upgrade slf4j to 1.7.25
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-17474
Ruslan Fomkin [Wed, 16 Mar 2022 14:17:22 +0000 (15:17 +0100)]
CASSANDRA-17443 Enable testUnwriteableFlushRecovery of CommitLogTest
patch by Ruslan Fomkin; reviewed by Berenguer Blasi, Branimir Lambov for CASSANDRA-17443
Josh McKenzie [Tue, 29 Mar 2022 16:30:05 +0000 (12:30 -0400)]
Fix AlterTest.testCreateAlterNetworkTopologyWithDefaults
Patch by Josh McKenzie; reviewed by Brandon Williams for CASSANDRA-17496
Brad Schoening [Fri, 11 Mar 2022 02:18:30 +0000 (21:18 -0500)]
change six functions in cqlshlib to native Python 3 ones
patch by Brad Schoening; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-17417
David Capwell [Tue, 29 Mar 2022 18:40:33 +0000 (11:40 -0700)]
Ninja: CASSANDRA-17478 added UpdateSystemAuthAfterDCExpansionTest to the wrong directory which broke CI, moved it to the right directory
Caleb Rackliffe [Mon, 14 Mar 2022 22:13:47 +0000 (17:13 -0500)]
reduce hot-path object allocations required to record local/remote requests against the client request metrics
patch by Caleb Rackliffe; reviewed by Jon Meredith for CASSANDRA-17424
Co-authored-by: Marcus Eriksson <marcuse@apache.org>
Co-authored-by: Caleb Rackliffe <calebrackliffe@gmail.com>
Brandon Williams [Tue, 29 Mar 2022 12:15:59 +0000 (07:15 -0500)]
Merge branch 'cassandra-4.0' into trunk
Brandon Williams [Tue, 29 Mar 2022 12:15:46 +0000 (07:15 -0500)]
Merge branch 'cassandra-3.11' into cassandra-4.0
Brandon Williams [Mon, 28 Mar 2022 14:57:55 +0000 (09:57 -0500)]
Upgrade jackson to 2.13.2
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-17492
Brandon Williams [Tue, 29 Mar 2022 12:12:51 +0000 (07:12 -0500)]
Merge branch 'cassandra-3.0' into cassandra-3.11