cassandra.git
4 days agoMerge branch cassandra-4.1 into trunk trunk
Benjamin Lerer [Wed, 28 Sep 2022 13:57:25 +0000 (15:57 +0200)] 
Merge branch cassandra-4.1 into trunk

4 days agoMerge branch cassandra-4.0 into cassandra-4.1 cassandra-4.1
Benjamin Lerer [Wed, 28 Sep 2022 13:02:27 +0000 (15:02 +0200)] 
Merge branch cassandra-4.0 into cassandra-4.1

4 days agoMerge branch cassandra-3.11 into cassandra-4.0 cassandra-4.0
Benjamin Lerer [Wed, 28 Sep 2022 12:43:48 +0000 (14:43 +0200)] 
Merge branch cassandra-3.11 into cassandra-4.0

4 days agoAdds missing changes to CQL.textile cassandra-3.11
Benjamin Lerer [Wed, 10 Aug 2022 16:11:08 +0000 (18:11 +0200)] 
Adds missing changes to CQL.textile

Patch by Benjamin Lerer; review by Brandon Williams for CASSANDRA-17709

5 days agoadd --older-than and --older-than-timestamp options for nodetool clearsnapshot
Stefan Miklosovic [Mon, 15 Aug 2022 11:56:58 +0000 (13:56 +0200)] 
add --older-than and --older-than-timestamp options for nodetool clearsnapshot

patch by Stefan Miklosovic; reviewed by Paulo Motta for CASSANDRA-16860

5 days agoMerge branch 'cassandra-4.1' into trunk
Mick Semb Wever [Mon, 26 Sep 2022 22:52:57 +0000 (00:52 +0200)] 
Merge branch 'cassandra-4.1' into trunk

* cassandra-4.1:
  Prepare debian changelog for 4.1-beta1

5 days agoPrepare debian changelog for 4.1-beta1 4.1-beta1-tentative
Mick Semb Wever [Mon, 26 Sep 2022 22:08:43 +0000 (00:08 +0200)] 
Prepare debian changelog for 4.1-beta1

5 days agoMerge branch 'cassandra-4.1' into trunk
Mick Semb Wever [Mon, 26 Sep 2022 21:45:18 +0000 (23:45 +0200)] 
Merge branch 'cassandra-4.1' into trunk

* cassandra-4.1:
  increment version to 4.1-beta1

5 days agoincrement version to 4.1-beta1
Mick Semb Wever [Mon, 26 Sep 2022 18:55:03 +0000 (20:55 +0200)] 
increment version to 4.1-beta1

 ref: https://lists.apache.org/thread/ho4r1lk2gsgs1z61ldzg64h84x3rbg4o

5 days agoMerge branch 'cassandra-4.1' into trunk
Stefan Miklosovic [Mon, 26 Sep 2022 20:25:18 +0000 (22:25 +0200)] 
Merge branch 'cassandra-4.1' into trunk

5 days agoadd checkstyle modules for checking redundant and unused imports in Java code
Stefan Miklosovic [Thu, 22 Sep 2022 08:20:31 +0000 (10:20 +0200)] 
add checkstyle modules for checking redundant and unused imports in Java code

patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-17876

Co-authored-by: Ling Mao <maoling@apache.org>
6 days agoFix "open RT bound as its last item" exception
Josh McKenzie [Mon, 19 Sep 2022 18:49:10 +0000 (14:49 -0400)] 
Fix "open RT bound as its last item" exception

Patch by Marcus Eriksson; reviewed by Aleksey Yeschenko and Josh McKenzie for CASSANDRA-17810

Co-authored-by: Marcus Eriksson <marcuse@apache.org>
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
6 days agoHandle leak of non-standard Java types as clients using JMX cannot handle them
Leonard Ma [Sat, 3 Sep 2022 00:54:04 +0000 (17:54 -0700)] 
Handle leak of non-standard Java types as clients using JMX cannot handle them

-deprecate and replace JMX setters that throw non-standard exceptions
-deprecate and replace respective JMX getters as well to make JMX usage consistent

patch by Leonard Ma; reviewed by Ekaterina Dimitrova and David Capwell for CASSANDRA-17668

10 days agoDeprecate Throwables.propagate usage
Claude Warren, Jr [Fri, 22 Jul 2022 07:56:13 +0000 (08:56 +0100)] 
Deprecate Throwables.propagate usage

patch by Claude Warren; reviewed by Caleb Rackliffe and David Capwell for CASSANDRA-14218

10 days agoRefactor internals of cqlsh.py to cqlshlib
Brad Schoening [Wed, 14 Sep 2022 11:28:10 +0000 (14:28 +0300)] 
Refactor internals of cqlsh.py to cqlshlib

patch by Brad Schoening; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-17531

11 days agoMerge branch 'cassandra-4.1' into trunk 1866/head
Brandon Williams [Wed, 21 Sep 2022 10:53:19 +0000 (05:53 -0500)] 
Merge branch 'cassandra-4.1' into trunk

11 days agoMerge branch 'cassandra-4.0' into cassandra-4.1
Brandon Williams [Wed, 21 Sep 2022 10:49:54 +0000 (05:49 -0500)] 
Merge branch 'cassandra-4.0' into cassandra-4.1

11 days agoMerge branch 'cassandra-3.11' into cassandra-4.0
Brandon Williams [Wed, 21 Sep 2022 10:48:48 +0000 (05:48 -0500)] 
Merge branch 'cassandra-3.11' into cassandra-4.0

11 days agoSupress CVE-2022-25857 et al for snakeyaml
Brandon Williams [Tue, 20 Sep 2022 14:14:25 +0000 (09:14 -0500)] 
Supress CVE-2022-25857 et al for snakeyaml

Also suppresses CVE-2022-38752, CVE-2022-38751, CVE-2022-38750,
CVE-2022-25857, CVE-2022-38749

Patch by brandonwilliams; reviewed by smiklosovic for CASSANDRA-17907

11 days agoAdd pull request template and modify README to include Jira and mailing list link
Claude Warren, Jr [Fri, 19 Aug 2022 06:42:25 +0000 (07:42 +0100)] 
Add pull request template and modify README to include Jira and mailing list link

patch by claudenw; reviewed by dritfx, dcapwell, josh-mckenzie, michaelsembwever and smiklosovic for CASSANDRA-17837

12 days agoMerge branch 'cassandra-4.1' into trunk
Blake Eggleston [Tue, 20 Sep 2022 19:23:48 +0000 (12:23 -0700)] 
Merge branch 'cassandra-4.1' into trunk

12 days agoRework flaky CASTests
Blake Eggleston [Fri, 16 Sep 2022 21:26:41 +0000 (14:26 -0700)] 
Rework flaky CASTests

Patch by Blake Eggleston; Reviewed by Benedict Elliott Smith for CASSANDRA-17461

12 days agoMerge branch 'cassandra-4.1' into trunk
Josh McKenzie [Tue, 20 Sep 2022 18:19:49 +0000 (14:19 -0400)] 
Merge branch 'cassandra-4.1' into trunk

12 days agoMerge branch 'cassandra-4.0' into cassandra-4.1
Josh McKenzie [Tue, 20 Sep 2022 18:18:09 +0000 (14:18 -0400)] 
Merge branch 'cassandra-4.0' into cassandra-4.1

12 days agoMitigate direct buffer memory OOM on replacements
Josh McKenzie [Thu, 15 Sep 2022 16:40:25 +0000 (12:40 -0400)] 
Mitigate direct buffer memory OOM on replacements

Patch by Jon Meredith; reviewed by Josh McKenzie for CASSANDRA-17895

Co-authored-by: Jon Meredith <jonmeredith@apache.org>
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
12 days agoMerge branch 'cassandra-4.1' into trunk
Josh McKenzie [Tue, 20 Sep 2022 16:59:59 +0000 (12:59 -0400)] 
Merge branch 'cassandra-4.1' into trunk

12 days agoMerge branch 'cassandra-4.0' into cassandra-4.1
Josh McKenzie [Tue, 20 Sep 2022 16:57:51 +0000 (12:57 -0400)] 
Merge branch 'cassandra-4.0' into cassandra-4.1

12 days agoFix repair failure on assertion if two peers have overlapping mismatching ranges
Josh McKenzie [Fri, 16 Sep 2022 19:50:44 +0000 (15:50 -0400)] 
Fix repair failure on assertion if two peers have overlapping mismatching ranges

Patch by Marcus Eriksson; reviewed by Benedict Elliott Smith and Josh McKenzie for CASSANDRA-17900

Co-authored-by: Marcus Eriksson <marcuse@apache.org>
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
12 days agoMerge branch 'cassandra-4.1' into trunk
Ekaterina Dimitrova [Mon, 19 Sep 2022 22:29:43 +0000 (18:29 -0400)] 
Merge branch 'cassandra-4.1' into trunk

12 days agokey_cache_save_period, row_cache_save_period, counter_cache_save_period are not depre...
Ekaterina Dimitrova [Mon, 19 Sep 2022 14:28:54 +0000 (10:28 -0400)] 
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

13 days agoAllow disabling hotness persistence for high sstable counts
Josh McKenzie [Tue, 13 Sep 2022 16:48:00 +0000 (12:48 -0400)] 
Allow disabling hotness persistence for high sstable counts

Patch by Caleb Rackliffe; reviewed by Chris Lohfink and Josh McKenzie for CASSANDRA-17868

Co-authored-by: Caleb Rackliffe <calebrackliffe@gmail.com>
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
13 days agoPrevent NullPointerException when changing neverPurgeTombstones from true to false
Josh McKenzie [Thu, 15 Sep 2022 17:56:00 +0000 (13:56 -0400)] 
Prevent NullPointerException when changing neverPurgeTombstones from true to false

Patch by Marcus Eriksson; reviewed by Caleb Rackliffe and Josh McKenzie for CASSANDRA-17897

Co-authored-by: Marcus Eriksson <marcuse@apache.org>
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
13 days agoAdd metrics around storage usage and compression
Josh McKenzie [Thu, 15 Sep 2022 18:22:34 +0000 (14:22 -0400)] 
Add metrics around storage usage and compression

Patch by Caleb Rackliffe; reviewed by Abe Ratnofsky and Josh McKenzie for CASSANDRA-17898

Co-authored-by: Caleb Rackliffe <calebrackliffe@gmail.com>
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
2 weeks agoMerge branch 'cassandra-4.1' into trunk
Jacek Lewandowski [Fri, 16 Sep 2022 07:56:02 +0000 (09:56 +0200)] 
Merge branch 'cassandra-4.1' into trunk

2 weeks agoMerge branch 'cassandra-4.0' into cassandra-4.1
Jacek Lewandowski [Fri, 16 Sep 2022 07:51:04 +0000 (09:51 +0200)] 
Merge branch 'cassandra-4.0' into cassandra-4.1

2 weeks agoFix schema reset functionality
Jacek Lewandowski [Thu, 8 Sep 2022 14:02:50 +0000 (16:02 +0200)] 
Fix schema reset functionality

Patch by Jacek Lewandowski, reviewed by Andrés de la Peña and Ekaterina Dimitrova for CASSANDRA-17819

2 weeks agoRemove usage of deprecated javax certificate class
Josh McKenzie [Thu, 8 Sep 2022 17:09:57 +0000 (13:09 -0400)] 
Remove usage of deprecated javax certificate class

Patch by Doug Rohrer; reviewed by Jyothsna Konisa, Francisco Guerrero Hernandez, Josh McKenzie, and Caleb Rackliffe for CASSANDRA-17867

Co-authored-by: Doug Rohrer <drohrer@apple.com>
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
2 weeks agoMerge branch 'cassandra-4.1' into trunk
Josh McKenzie [Mon, 12 Sep 2022 17:07:10 +0000 (13:07 -0400)] 
Merge branch 'cassandra-4.1' into trunk

2 weeks agoMerge branch 'cassandra-4.0' into cassandra-4.1
Josh McKenzie [Mon, 12 Sep 2022 17:04:40 +0000 (13:04 -0400)] 
Merge branch 'cassandra-4.0' into cassandra-4.1

# Conflicts:
# test/distributed/org/apache/cassandra/distributed/upgrade/MixedModeMessageForwardTest.java

2 weeks agoPrevent flakiness in MixedModeMessageForwardTest
Josh McKenzie [Wed, 7 Sep 2022 17:55:54 +0000 (13:55 -0400)] 
Prevent flakiness in MixedModeMessageForwardTest

Patch by Jon Meredith; reviewed by Josh McKenzie for CASSANDRA-17866

2 weeks agoMerge branch 'cassandra-4.1' into trunk
Josh McKenzie [Mon, 12 Sep 2022 16:47:29 +0000 (12:47 -0400)] 
Merge branch 'cassandra-4.1' into trunk

2 weeks agoMerge branch 'cassandra-4.0' into cassandra-4.1
Josh McKenzie [Mon, 12 Sep 2022 16:45:42 +0000 (12:45 -0400)] 
Merge branch 'cassandra-4.0' into cassandra-4.1

# Conflicts:
# CHANGES.txt

2 weeks agoBetter handle null state in Gossip schema migration to avoid NPE
Josh McKenzie [Tue, 6 Sep 2022 19:43:38 +0000 (15:43 -0400)] 
Better handle null state in Gossip schema migration to avoid NPE

Patch by Marcus Eriksson; reviewed by Josh McKenzie and Alex Petrov for CASSANDRA-17864

Co-authored-by: Marcus Eriksson <marcuse@apache.org>
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
2 weeks agoMake sure preview repairs don't optimise streams unless configured to
Josh McKenzie [Wed, 7 Sep 2022 17:12:22 +0000 (13:12 -0400)] 
Make sure preview repairs don't optimise streams unless configured to

Patch by Chris Lohfink; reviewed by Josh McKenzie and Marcus Eriksson for CASSANDRA-17865

Co-authored-by: Chris Lohfink <clohfink@apple.com>
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
2 weeks agoMerge branch cassandra-4.1 into trunk
Benjamin Lerer [Mon, 12 Sep 2022 12:58:17 +0000 (14:58 +0200)] 
Merge branch cassandra-4.1 into trunk

2 weeks agoFix PaxosRepairTest#paxosRepairVersionGate
Benedict Elliott Smith [Tue, 31 May 2022 12:54:56 +0000 (13:54 +0100)] 
Fix PaxosRepairTest#paxosRepairVersionGate

Patch by Benedict Elliott Smith; review by Blake Eggleston for CASSANDRA-17573

3 weeks agoOptionally avoid hint transfer during decommission
Caleb Rackliffe [Thu, 1 Sep 2022 16:47:22 +0000 (11:47 -0500)] 
Optionally avoid hint transfer during decommission

patch by Caleb Rackliffe; reviewed by Jon Meredith and Stefan Miklosovic for CASSANDRA-17808

3 weeks agoMake disabling auto snapshot on selected tables possible
Stefan Miklosovic [Wed, 7 Sep 2022 14:23:01 +0000 (16:23 +0200)] 
Make disabling auto snapshot on selected tables possible

patch by Tommy Stendahl; reviewed by Stefan Miklosovic and Aleksey Yeschenko for CASSANDRA-10383

Co-authored-by: Tommy Stendahl <tommy.stendahl@ericsson.com>
Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
3 weeks agoMerge branch 'cassandra-4.1' into trunk
Caleb Rackliffe [Wed, 7 Sep 2022 20:52:23 +0000 (15:52 -0500)] 
Merge branch 'cassandra-4.1' into trunk

3 weeks agoMerge branch 'cassandra-4.0' into cassandra-4.1
Caleb Rackliffe [Wed, 7 Sep 2022 20:40:29 +0000 (15:40 -0500)] 
Merge branch 'cassandra-4.0' into cassandra-4.1

3 weeks agoHintedHandoffAddRemoveNodesTest now accounts for the fact that StorageMetrics.totalHi...
Caleb Rackliffe [Fri, 2 Sep 2022 05:04:21 +0000 (00:04 -0500)] 
HintedHandoffAddRemoveNodesTest now accounts for the fact that StorageMetrics.totalHints is not updated synchronously w/ writes

patch by Caleb Rackliffe; reviewed by Ekaterina Dimitrova for CASSANDRA-16679

3 weeks agoIntroduce compaction priorities to prevent upgrade compaction inability to finish
Josh McKenzie [Thu, 25 Aug 2022 19:27:24 +0000 (15:27 -0400)] 
Introduce compaction priorities to prevent upgrade compaction inability to finish

Patch by Alex Petrov; reviewed by Josh McKenzie and Marcus Eriksson for CASSANDRA-17851

Co-authored-by: Alex Petrov <oleksandr.petrov@gmail.com>
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
3 weeks agoMerge branch 'cassandra-4.1' into trunk cep-15-accord
David Capwell [Wed, 7 Sep 2022 01:07:23 +0000 (18:07 -0700)] 
Merge branch 'cassandra-4.1' into trunk

3 weeks agoupsert with adder support is not consistent with numbers and strings in LWT
David Capwell [Tue, 6 Sep 2022 23:47:04 +0000 (16:47 -0700)] 
upsert with adder support is not consistent with numbers and strings in LWT

patch by David Capwell; reviewed by Benedict Elliott Smith, Caleb Rackliffe for CASSANDRA-17857

3 weeks agoMerge branch 'cassandra-4.1' into trunk
Brandon Williams [Tue, 6 Sep 2022 16:55:09 +0000 (11:55 -0500)] 
Merge branch 'cassandra-4.1' into trunk

3 weeks agoCatch NSE race condition and return after failing connections
Brandon Williams [Thu, 25 Aug 2022 23:18:32 +0000 (18:18 -0500)] 
Catch NSE race condition and return after failing connections

Patch by brandonwilliams; reviewed by adelapena and aleksey for
CASSANDRA-17618

3 weeks agoMerge branch 'cassandra-4.1' into trunk
Jon Meredith [Tue, 6 Sep 2022 16:01:43 +0000 (10:01 -0600)] 
Merge branch 'cassandra-4.1' into trunk

3 weeks agoSpeculative execution threshold unit mismatch
Jon Meredith [Fri, 2 Sep 2022 16:28:21 +0000 (10:28 -0600)] 
Speculative execution threshold unit mismatch

patch by Jon Meredith; reviewed by Caleb Rackliffe, Yifan Cai for CASSANDRA-17877

4 weeks agoMerge branch 'cassandra-4.1' into trunk
Stefan Miklosovic [Fri, 2 Sep 2022 13:22:45 +0000 (15:22 +0200)] 
Merge branch 'cassandra-4.1' into trunk

4 weeks agoremove pure_sasl from the repository
Stefan Miklosovic [Thu, 1 Sep 2022 22:21:54 +0000 (00:21 +0200)] 
remove pure_sasl from the repository

This is follow-up for CASSANDRA-16456. The dependency
should be downloaded and put into the lib/ folder.

patch by Stefan Miklosovic; reviewed by Mick Semb Wever for CASSANDRA-16456

4 weeks agoMerge branch 'cassandra-4.1' into trunk
Andrés de la Peña [Wed, 31 Aug 2022 11:23:33 +0000 (12:23 +0100)] 
Merge branch 'cassandra-4.1' into trunk

4 weeks agoFix flakiness of testAutoSnapshotTTlOnDropAfterRestart
Paulo Motta [Mon, 15 Aug 2022 00:00:04 +0000 (21:00 -0300)] 
Fix flakiness of testAutoSnapshotTTlOnDropAfterRestart

Patch by Paulo Motta; Reviewed by Caleb Rackliffe and Andrés de la Peña for CASSANDRA-17804

4 weeks agoPrevent a user from manually removing ephemeral snapshots
Stefan Miklosovic [Thu, 11 Aug 2022 14:39:04 +0000 (16:39 +0200)] 
Prevent a user from manually removing ephemeral snapshots

patch by Stefan Miklosovic; reviewed by Paulo Motta for CASSANDRA-17757

4 weeks agoMerge branch 'cassandra-4.1' into trunk
Marcus Eriksson [Mon, 29 Aug 2022 11:29:14 +0000 (13:29 +0200)] 
Merge branch 'cassandra-4.1' into trunk

4 weeks agoMerge branch 'cassandra-4.0' into cassandra-4.1
Marcus Eriksson [Mon, 29 Aug 2022 11:27:46 +0000 (13:27 +0200)] 
Merge branch 'cassandra-4.0' into cassandra-4.1

4 weeks agoImprove the way we handle repair message timeouts to avoid hanging repairs
Marcus Eriksson [Mon, 29 Aug 2022 11:27:16 +0000 (13:27 +0200)] 
Improve the way we handle repair message timeouts to avoid hanging repairs

Patch by marcuse; reviewed by David Capwell for CASSANDRA-17613

5 weeks agoMerge branch 'cassandra-4.1' into trunk
Jacek Lewandowski [Fri, 26 Aug 2022 15:40:22 +0000 (17:40 +0200)] 
Merge branch 'cassandra-4.1' into trunk

5 weeks agoMerge branch 'cassandra-4.0' into cassandra-4.1
Jacek Lewandowski [Fri, 26 Aug 2022 15:38:48 +0000 (17:38 +0200)] 
Merge branch 'cassandra-4.0' into cassandra-4.1

5 weeks agoMerge branch 'cassandra-3.11' into cassandra-4.0
Jacek Lewandowski [Fri, 26 Aug 2022 15:18:45 +0000 (17:18 +0200)] 
Merge branch 'cassandra-3.11' into cassandra-4.0

5 weeks agoMerge branch 'cassandra-3.0' into cassandra-3.11
Jacek Lewandowski [Fri, 26 Aug 2022 15:13:26 +0000 (17:13 +0200)] 
Merge branch 'cassandra-3.0' into cassandra-3.11

5 weeks agoFix scrubber falling into infinite loop cassandra-3.0
Jacek Lewandowski [Thu, 25 Aug 2022 18:38:45 +0000 (20:38 +0200)] 
Fix scrubber falling into infinite loop

Fixes scrubber falling into infinite loop when the last partition is broken in data file and compression is enabled.

Patch by Jacek Lewandowski, reviewed by Brandon Williams, for CASSANDRA-17862

5 weeks agoMark antora.yml in trunk as `prelease:true`
Milan Krisko [Wed, 24 Aug 2022 02:05:46 +0000 (22:05 -0400)] 
Mark antora.yml in trunk as `prelease:true`

 patch by Milan Krisko; reviewed by Mick Semb Wever for CASSANDRA-17823

5 weeks agoMerge branch 'cassandra-4.1' into trunk
Mick Semb Wever [Thu, 25 Aug 2022 15:54:04 +0000 (17:54 +0200)] 
Merge branch 'cassandra-4.1' into trunk

* cassandra-4.0:
  Increment version to 4.0.7

5 weeks agoMerge branch 'cassandra-4.0' into cassandra-4.1
Mick Semb Wever [Thu, 25 Aug 2022 15:53:40 +0000 (17:53 +0200)] 
Merge branch 'cassandra-4.0' into cassandra-4.1

* cassandra-4.0:
  Increment version to 4.0.7

5 weeks agoIncrement version to 4.0.7
Mick Semb Wever [Thu, 25 Aug 2022 15:49:58 +0000 (17:49 +0200)] 
Increment version to 4.0.7

5 weeks agoRemove dependency on Maven Ant Tasks
Abe Ratnofsky [Wed, 24 Aug 2022 20:23:09 +0000 (13:23 -0700)] 
Remove dependency on Maven Ant Tasks

patch by Abe Ratnofsky; reviewed by David Capwell, Michael Semb Wever for CASSANDRA-17750

5 weeks agoMerge branch 'cassandra-4.1' into trunk
Josh McKenzie [Wed, 24 Aug 2022 19:24:40 +0000 (15:24 -0400)] 
Merge branch 'cassandra-4.1' into trunk

5 weeks agoMerge branch 'cassandra-4.0' into cassandra-4.1
Josh McKenzie [Wed, 24 Aug 2022 19:24:11 +0000 (15:24 -0400)] 
Merge branch 'cassandra-4.0' into cassandra-4.1

5 weeks agoMerge branch 'cassandra-3.11' into cassandra-4.0
Josh McKenzie [Wed, 24 Aug 2022 19:17:53 +0000 (15:17 -0400)] 
Merge branch 'cassandra-3.11' into cassandra-4.0

-s ours; applying 4.0+ patch for CASSANDRA-17840

5 weeks agoFix potential IndexOutOfBoundsException in PagingState in mixed mode clusters
Josh McKenzie [Tue, 23 Aug 2022 18:37:17 +0000 (14:37 -0400)] 
Fix potential IndexOutOfBoundsException in PagingState in mixed mode clusters

Patch by Alex Petrov; reviewed by Josh McKenzie, Sam Tunnicliffe, and Aleksey Yeschenko for CASSANDRA-17840

Co-authored-by: Alex Petrov <oleksandr.petrov@gmail.com>
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
5 weeks agoUpdate ASM(9.1 to 9.3), Mockito(1.10.10 to 1.12.13) and ByteBuddy(3.2.4 to 4.7.0)
Ekaterina Dimitrova [Thu, 18 Aug 2022 19:14:56 +0000 (15:14 -0400)] 
Update ASM(9.1 to 9.3), Mockito(1.10.10 to 1.12.13) and ByteBuddy(3.2.4 to 4.7.0)
patch by Ekaterina Dimitrova; reviewed by Brandon Williams for CASSANDRA-17835

5 weeks agofix StandaloneUpgraderOnSStablesTest
Stefan Miklosovic [Tue, 23 Aug 2022 17:53:16 +0000 (19:53 +0200)] 
fix StandaloneUpgraderOnSStablesTest

This is follow-up for CASSANDRA-13010 where a bug was introduced in Upgrader
which made StandaloneUpgraderOnSStablesTest flaky.

patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-17849

5 weeks agoAdd the ability for operators to loosen the definition of "empty" for edge cases
Josh McKenzie [Mon, 22 Aug 2022 19:04:19 +0000 (15:04 -0400)] 
Add the ability for operators to loosen the definition of "empty" for edge cases

Patch by David Capwell; reviewed by Josh McKenzie, Yifan Cai, and Sam Tunnicliffe for CASSANDRA-17842

Co-authored-by: David Capwell <dcapwell@apache.org>
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
5 weeks agoFix potential out of range exception on column index downsampling
Josh McKenzie [Mon, 22 Aug 2022 18:28:50 +0000 (14:28 -0400)] 
Fix potential out of range exception on column index downsampling

Patch by Marcus Eriksson; reviewed by Josh McKenzie, Jon Meredith, and Caleb Rackliffe for CASSANDRA-17839

Co-authored-by: Marcus Eriksson <marcuse@apache.org>
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
5 weeks agoLog anticompaction cancellation at INFO level
Josh McKenzie [Mon, 22 Aug 2022 18:16:30 +0000 (14:16 -0400)] 
Log anticompaction cancellation at INFO level

Patch by Marcus Eriksson; reviewed by Caleb Rackliffe, David Capwell, and Josh McKenzie for CASSANDRA-17841

Co-authored-by: Marcus Eriksson <marcuse@apache.org>
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
5 weeks agoMerge branch 'cassandra-4.1' into trunk
Stefan Miklosovic [Mon, 22 Aug 2022 17:16:13 +0000 (19:16 +0200)] 
Merge branch 'cassandra-4.1' into trunk

5 weeks agoFix test/distributed/org/apache/cassandra/distributed/test/IncRepairCoordinatorErrorTest
Stefan Miklosovic [Sat, 20 Aug 2022 13:01:01 +0000 (15:01 +0200)] 
Fix test/distributed/org/apache/cassandra/distributed/test/IncRepairCoordinatorErrorTest

patch by Stefan Miklosovic; reviewed by Josh McKenzie for CASSANDRA-17843

5 weeks agoMerge branch 'cassandra-4.1' into trunk
Yifan Cai [Mon, 22 Aug 2022 16:31:15 +0000 (09:31 -0700)] 
Merge branch 'cassandra-4.1' into trunk

5 weeks agoninja fix: NEWS.txt
Yifan Cai [Mon, 22 Aug 2022 16:31:05 +0000 (09:31 -0700)] 
ninja fix: NEWS.txt

6 weeks agoIntroduce target directory to vtable output for sstable_tasks and for compactionstats
Stefan Miklosovic [Fri, 19 Aug 2022 14:50:49 +0000 (16:50 +0200)] 
Introduce target directory to vtable output for sstable_tasks and for compactionstats

patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-13010

Co-authored-by: Alex Lourie <alex@instaclustr.comi>
6 weeks agoRead/Write/Truncate throw RequestFailure in a race condition with callback timeouts...
David Capwell [Fri, 19 Aug 2022 23:42:56 +0000 (16:42 -0700)] 
Read/Write/Truncate throw RequestFailure in a race condition with callback timeouts, should return Timeout instead

patch by David Capwell; reviewed by Caleb Rackliffe for CASSANDRA-17828

6 weeks agoMerge branch 'cassandra-4.1' into trunk
Yifan Cai [Fri, 19 Aug 2022 21:19:58 +0000 (14:19 -0700)] 
Merge branch 'cassandra-4.1' into trunk

6 weeks agoFix BulkLoader to load entireSSTableThrottle and entireSSTableInterDcThrottle
Francisco Guerrero [Fri, 19 Aug 2022 17:20:57 +0000 (10:20 -0700)] 
Fix BulkLoader to load entireSSTableThrottle and entireSSTableInterDcThrottle

patch by Francisco Guerrero; reviewed by Ekaterina Dimitrova, Yifan Cai for CASSANDRA-17677

6 weeks agoAdd ability to log load profiles at fixed intervals
Josh McKenzie [Tue, 16 Aug 2022 18:19:46 +0000 (14:19 -0400)] 
Add ability to log load profiles at fixed intervals

Patch by Yifan Cai; reviewed by Josh McKenzie, Dinesh Joshi, and Chris Lohfink for CASSANDRA-17821

Co-authored-by: Yifan Cai <ycai@apache.org>
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
6 weeks agoMerge branch 'cassandra-4.1' into trunk
Josh McKenzie [Fri, 19 Aug 2022 16:36:08 +0000 (12:36 -0400)] 
Merge branch 'cassandra-4.1' into trunk

6 weeks agoMerge branch 'cassandra-4.0' into cassandra-4.1
Josh McKenzie [Fri, 19 Aug 2022 16:34:33 +0000 (12:34 -0400)] 
Merge branch 'cassandra-4.0' into cassandra-4.1

# Conflicts:
# CHANGES.txt
# src/java/org/apache/cassandra/repair/consistent/CoordinatorSession.java

6 weeks agoPrevent infinite loop in repair coordinator on FailSession
Josh McKenzie [Thu, 18 Aug 2022 17:00:45 +0000 (13:00 -0400)] 
Prevent infinite loop in repair coordinator on FailSession

Patch by Marcus Eriksson; reviewed by David Capwell, Blake Eggleston, and Josh McKenzie for CASSANDRA-17834

Co-authored-by: Marcus Eriksson <marcuse@apache.org>
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
6 weeks agoMerge branch 'cassandra-4.1' into trunk
Mick Semb Wever [Thu, 18 Aug 2022 20:12:54 +0000 (22:12 +0200)] 
Merge branch 'cassandra-4.1' into trunk

6 weeks agoMerge branch 'cassandra-4.0' into cassandra-4.1
Mick Semb Wever [Thu, 18 Aug 2022 20:11:52 +0000 (22:11 +0200)] 
Merge branch 'cassandra-4.0' into cassandra-4.1

6 weeks agoPrepare debian changelog for 4.0.6 cassandra-4.0.6
Mick Semb Wever [Thu, 18 Aug 2022 18:31:54 +0000 (20:31 +0200)] 
Prepare debian changelog for 4.0.6