cassandra.git
3 months agoUse :latest tag for our test images in CircleCI config files
Ekaterina Dimitrova [Sun, 8 May 2022 00:11:12 +0000 (20:11 -0400)] 
Use :latest tag for our test images in CircleCI config files
patch by Ekaterina Dimitrova; reviewed by Michael Semb Wever for CASSANDRA-17429

3 months agoFix URISyntaxException in nodetool with updated Java
Jermy Li [Mon, 25 Apr 2022 07:14:33 +0000 (15:14 +0800)] 
Fix URISyntaxException in nodetool with updated Java

Patch by Jermy Li; reviewed by bereng and brandonwilliams for
CASSANDRA-17581

3 months agoSchema mutations may not be completed on drain
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

3 months agoFix data corruption in AbstractCompositeType due to static boolean byte buffers
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>
3 months agoAdd procps Debian dependency
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

3 months agoAdd procps-ng RPM dependency
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

3 months agoAdd support for vnodes in jvm-dtest
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

4 months agoSuppress CVE-2021-44521
Brandon Williams [Mon, 28 Mar 2022 15:39:22 +0000 (10:39 -0500)] 
Suppress CVE-2021-44521

Patch by brandonwilliams; reviewed by bereng for CASSANDRA-17492

4 months agoConnectionLimitHandler may leaks connection count if remote connection drops
Jon Meredith [Fri, 18 Mar 2022 23:17:17 +0000 (17:17 -0600)] 
ConnectionLimitHandler may leaks connection count if remote connection drops

patch by Jon Meredith; reviewed by Caleb Rackliffe for CASSANDRA-17252

4 months agoRequire at least ant >= 1.10
Brandon Williams [Thu, 10 Mar 2022 12:48:50 +0000 (06:48 -0600)] 
Require at least ant >= 1.10

Patch by brandonwilliams; reviewed by smiklosovic and paulo for
CASSANDRA-17428

5 months agoDisallow CONTAINS for UPDATE and DELETE
Maciej Sokol [Thu, 10 Mar 2022 13:05:42 +0000 (13:05 +0000)] 
Disallow CONTAINS for UPDATE and DELETE

patch by Maciej Sokol; reviewed by Andres de la Peña and Benjamin Lerer for CASSANDRA-15266

5 months agofilter out NULL_VERSION entries from peers table in ConfiguredLimit
Stefan Miklosovic [Tue, 8 Mar 2022 17:08:56 +0000 (18:08 +0100)] 
filter out NULL_VERSION entries from peers table in ConfiguredLimit

patch by Stefan Miklosovic; reviewed by Brandon Williams and Sam Tunnicliffe for CASSANDRA-16518

5 months agoSuppress more inapplicables: CVE-2021-43797, CVE-2021-37136, CVE-2021-37137
Brandon Williams [Wed, 9 Feb 2022 18:18:22 +0000 (12:18 -0600)] 
Suppress more inapplicables: CVE-2021-43797, CVE-2021-37136, CVE-2021-37137

Patch by brandonwilliams, reviewed by bereng for CASSANDRA-17368

5 months agoFix flaky test - test_cqlsh_completion.TestCqlshCompletion
Aleksei Zotov [Fri, 18 Feb 2022 16:37:18 +0000 (20:37 +0400)] 
Fix flaky test - test_cqlsh_completion.TestCqlshCompletion

Patch by Aleksei Zotov; reviewed by Brandon Williams for CASSANDRA-17338

5 months agoAdded CVE-2021-44521 to CHANGES.txt, NEWS.txt
Erick Ramirez [Fri, 18 Feb 2022 04:48:01 +0000 (04:48 +0000)] 
Added CVE-2021-44521 to CHANGES.txt, NEWS.txt

patch by Erick Ramirez; reviewed by Marcus Eriksson, Mick Semb Wever for CASSANDRA-17388

5 months agoFixed TestCqlshOutput failing tests
Aleksei Zotov [Wed, 16 Feb 2022 18:25:03 +0000 (22:25 +0400)] 
Fixed TestCqlshOutput failing tests

Patch by Aleksei Zotov; reviewed by Brandon Williams for CASSANDRA-17386

5 months agoLeveledCompactionStrategy disk space check improvements
Marcus Eriksson [Thu, 20 Jan 2022 13:18:46 +0000 (14:18 +0100)] 
LeveledCompactionStrategy disk space check improvements

Patch by marcuse; reviewed by Caleb Rackliffe for CASSANDRA-17272

5 months agoninja fix typo in Jenkinsfile
Brandon Williams [Wed, 16 Feb 2022 23:27:24 +0000 (17:27 -0600)] 
ninja fix typo in Jenkinsfile

5 months agoLazy transaction log replica creation allows incorrect replica content divergence...
Marcus Eriksson [Fri, 21 Jan 2022 08:02:10 +0000 (09:02 +0100)] 
Lazy transaction log replica creation allows incorrect replica content divergence during anticompaction

Patch by marcuse; reviewed by Caleb Rackliffe for CASSANDRA-17273

5 months agoIncrement version to 3.0.27
Mick Semb Wever [Fri, 11 Feb 2022 10:03:51 +0000 (11:03 +0100)] 
Increment version to 3.0.27

6 months agoPrepare debian changelog for 3.0.26 cassandra-3.0.26
Mick Semb Wever [Mon, 7 Feb 2022 12:14:30 +0000 (13:14 +0100)] 
Prepare debian changelog for 3.0.26

6 months agoExtend operator control over the UDF threading model
Marcus Eriksson [Mon, 7 Feb 2022 10:18:05 +0000 (11:18 +0100)] 
Extend operator control over the UDF threading model

Patch by marcuse; reviewed by Sam Tunnicliffe and Benedict Elliott Smith for CASSANDRA-17352

6 months agoFix Prepared Statements behaviours after 15252
Alex Petrov [Mon, 10 Jan 2022 16:24:28 +0000 (17:24 +0100)] 
Fix Prepared Statements behaviours after 15252

Patch by Alex Petrov; reviewed by Marcus Eriksson for CASSANDR-17248.

Co-authored-by: Marcus Eriksson <marcuse@apache.org>
6 months agoFixes for intermittent in-JVM dtest failures
Jon Meredith [Thu, 3 Feb 2022 00:09:42 +0000 (17:09 -0700)] 
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

6 months agoFix conversion from megabits to bytes in streaming rate limiter
Andrés de la Peña [Wed, 26 Jan 2022 11:34:51 +0000 (11:34 +0000)] 
Fix conversion from megabits to bytes in streaming rate limiter

patch by Andrés de la Peña; reviewed by Berenguer Blasi for CASSANDRA-17243

6 months agoUpgrade logback to 1.2.9
Brandon Williams [Tue, 14 Dec 2021 19:24:20 +0000 (13:24 -0600)] 
Upgrade logback to 1.2.9

Patch by brandonwilliams; reviewed by bereng for CASSANDRA-17204

includes backported test changes from CASSANDRA-14183

6 months agoAvoid race in AbstractReplicationStrategy endpoint caching
Marcus Eriksson [Tue, 4 May 2021 07:56:32 +0000 (09:56 +0200)] 
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>
6 months agoMerge branch 'cassandra-2.2' into cassandra-3.0
Ekaterina Dimitrova [Wed, 12 Jan 2022 01:43:43 +0000 (20:43 -0500)] 
Merge branch 'cassandra-2.2' into cassandra-3.0

6 months agoReplace git:// with https:// in Circle CI config file
Bereng [Tue, 11 Jan 2022 10:21:57 +0000 (11:21 +0100)] 
Replace git:// with https:// in Circle CI config file
patch by Berenguer Blasi; reviewed by Brandon Williams, Ekaterina Dimitrova and David Capwell for CASSANDRA-17255

6 months agoFix cqlsh COPY abort on window resize
Johannes Weißl [Tue, 16 Jul 2019 20:58:21 +0000 (22:58 +0200)] 
Fix cqlsh COPY abort on window resize

Patch by Johannes Weißl; reviewed by brandonwilliams and bereng for
CASSANDRA-15230

7 months agoRace in CompactionExecutorTest
Jon Meredith [Thu, 6 Jan 2022 18:12:21 +0000 (11:12 -0700)] 
Race in CompactionExecutorTest

patch by Jon Meredith; reviewed by Josh McKenzie for CASSANDRA-17239

8 months agoFix slow keycache load which blocks startup for tables with many sstables.
Venkata Harikrishna Nukala [Fri, 22 Oct 2021 18:33:45 +0000 (00:03 +0530)] 
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

8 months agoCreate property for local repository
Sumanth Pasupuleti [Fri, 3 Sep 2021 18:03:41 +0000 (11:03 -0700)] 
Create property for local repository

 patch by Sumanth Pasupuleti; reviewed by Mick Semb Wever for CASSANDRA-16917

8 months agoFix rare NPE caused by batchlog replay / node decomission races
Aleksey Yeschenko [Tue, 19 Oct 2021 14:44:09 +0000 (15:44 +0100)] 
Fix rare NPE caused by batchlog replay / node decomission races

pach by Aleksey Yeschenko; reviewed by Alex Petrov for CASSANDRA-17049

8 months agoMerge branch 'cassandra-2.2' into cassandra-3.0
Ekaterina Dimitrova [Fri, 12 Nov 2021 01:32:44 +0000 (20:32 -0500)] 
Merge branch 'cassandra-2.2' into cassandra-3.0

8 months agoUpdate Docker image for testing in CircleCI config
Ekaterina Dimitrova [Wed, 10 Nov 2021 18:36:58 +0000 (13:36 -0500)] 
Update Docker image for testing in CircleCI config
patch by Ekaterina Dimitrova; reviewed by Brandon Williams and David Capwell for CASSANDRA-17134

8 months agoMerge branch 'cassandra-2.2' into cassandra-3.0
Benedict Elliott Smith [Wed, 10 Nov 2021 11:10:04 +0000 (11:10 +0000)] 
Merge branch 'cassandra-2.2' into cassandra-3.0

8 months agoUpgrade tests fail with InvocationTargetException
Benedict Elliott Smith [Wed, 20 Oct 2021 13:44:49 +0000 (14:44 +0100)] 
Upgrade tests fail with InvocationTargetException

patch by Benedict; reviewed by Mick Semb Wever for CASSANDRA-17050

9 months agoAllow users to view permissions of the roles they created
Andrés de la Peña [Wed, 27 Oct 2021 17:05:53 +0000 (18:05 +0100)] 
Allow users to view permissions of the roles they created

patch by Robert Stupp, Andrés de la Peña and Aleksei Zotov; reviewed by Aleksei Zotov and Benjamin Lerer for CASSANDRA-16902

Co-authored-by: Robert Stupp <snazy@snazy.de>
Co-authored-by: Andres de la Pena <a.penya.garcia@gmail.com>
Co-authored-by: Aleksei Zotov <azotcsit@gmail.com>
9 months agoFix failure handling in inter-node communication
Aleksandr Sorokoumov [Tue, 26 Oct 2021 17:14:35 +0000 (18:14 +0100)] 
Fix failure handling in inter-node communication

patch by Aleksandr Sorokoumov; reviewed by Andrés de la Peña and Paulo Motta for CASSANDRA-16334

9 months agoSet fork mode to class in IntelliJ default test config
Brandon Williams [Thu, 21 Oct 2021 12:37:53 +0000 (07:37 -0500)] 
Set fork mode to class in IntelliJ default test config

Patch by Jacek Lewandowski; reviewed by brandonwilliams and marcuse for
CASSANDRA-17053

9 months agoPush connection reset by peer messages to trace
Brandon Williams [Mon, 18 Oct 2021 17:29:35 +0000 (12:29 -0500)] 
Push connection reset by peer messages to trace

Patch by brandonwilliams; reviewed by bereng for CASSANDRA-16954

9 months agoUse dedicated executors for CircleCI repeated test jobs
Andrés de la Peña [Tue, 19 Oct 2021 10:39:32 +0000 (11:39 +0100)] 
Use dedicated executors for CircleCI repeated test jobs

patch by Andrés de la Peña; reviewed by Ekaterina Dimitrova for CASSANDRA-17043

9 months agoAdd blocking pendingranges calculation when keyspace is added
Sumanth Pasupuleti [Mon, 23 Aug 2021 09:19:01 +0000 (02:19 -0700)] 
Add blocking pendingranges calculation when keyspace is added

Patch by Sumanth Pasupuleti, reviewed by Alex Petrov for CASSANDRA-15433

9 months agoLog more information when a node runs out of commitlog space
Boris Onufriyev [Mon, 6 Sep 2021 15:00:09 +0000 (17:00 +0200)] 
Log more information when a node runs out of commitlog space

Patch by Boris Onufriyev; review by Ariel Weisberg, Benjamin Lerer and
Brandon Williams for CASSANDRA-11323

9 months agoSave CircleCI resources with optional test jobs
Andrés de la Peña [Thu, 14 Oct 2021 11:23:46 +0000 (12:23 +0100)] 
Save CircleCI resources with optional test jobs

patch by Andrés de la Peña; reviewed by Ekaterina Dimitrova and Berenguer Blasi for CASSANDRA-16882

9 months agoninja-fix: correct issue reference for CASSANDRA-16883 in ReadCallback comments
Caleb Rackliffe [Tue, 12 Oct 2021 21:33:45 +0000 (16:33 -0500)] 
ninja-fix: correct issue reference for CASSANDRA-16883 in ReadCallback comments

9 months agoDon't take snapshots when truncating system tables
Brandon Williams [Fri, 8 Oct 2021 15:52:11 +0000 (10:52 -0500)] 
Don't take snapshots when truncating system tables

Patch by brandonwilliams; reviewed by adelapena and blerer for CASSANDRA-16839

10 months agoOWASP follow-up - version-aware dependency check and removed useTimestamp flag upon...
Stefan Miklosovic [Tue, 5 Oct 2021 08:54:32 +0000 (10:54 +0200)] 
OWASP follow-up - version-aware dependency check and removed useTimestamp flag upon zip downloading, update to 6.3.2

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

10 months agoElaborate on why we need to recycle CL segments when dropping tables
Aleksandr Sorokoumov [Mon, 27 Sep 2021 13:33:32 +0000 (15:33 +0200)] 
Elaborate on why we need to recycle CL segments when dropping tables

patch by Aleksandr Sorokoumov; reviewed by Caleb Rackliffe and Benjamin Lerer for CASSANDRA-16986

10 months agoAvoid re-prepare storm on qualified statements after `use`
Alex Petrov [Tue, 3 Aug 2021 11:08:03 +0000 (13:08 +0200)] 
Avoid re-prepare storm on qualified statements after `use`

Patch by Alex Petrov; reviewed by Marcus Eriksson for CASSANDRA-15252

10 months agoMake -Dtest.methods consistently optional in all Ant test targets
Andrés de la Peña [Fri, 1 Oct 2021 14:17:07 +0000 (15:17 +0100)] 
Make -Dtest.methods consistently optional in all Ant test targets

patch by Andrés de la Peña; reviewed by Berenguer Blasi for CASSANDRA-17014

10 months agoImmediately apply stream throughput, considering negative values as unthrottled
Andrés de la Peña [Fri, 1 Oct 2021 10:27:28 +0000 (11:27 +0100)] 
Immediately apply stream throughput, considering negative values as unthrottled

patch by Andrés de la Peña; reviewed by Aleksei Zotov, Brandon Williams and Berenguer Blasi for CASSANDRA-16959

Co-authored-by: Niteshwar Kumar <niteshwar_kumar@persistent.com>
Co-authored-by: Andrés de la Peña <a.penya.garcia@gmail.com>
10 months agoadd OWASP dependency check to Ant build
Stefan Miklosovic [Thu, 30 Sep 2021 19:30:36 +0000 (21:30 +0200)] 
add OWASP dependency check to Ant build

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

10 months agoDo not release new SSTables in offline transactions
Aleksandr Sorokoumov [Thu, 30 Sep 2021 12:01:02 +0000 (13:01 +0100)] 
Do not release new SSTables in offline transactions

patch by Aleksandr Sorokoumov; reviewed by Andrés de la Peña and Branimir Lambov for CASSANDRA-16975

10 months agoAdd tests for Resource fromName/getName
Aleksei Zotov [Fri, 23 Jul 2021 15:45:46 +0000 (19:45 +0400)] 
Add tests for Resource fromName/getName

patch by Aleksei Zotov; reviewed by Berenguer Blasi, Sam Tunnicliffe for CASSANDRA-16995

10 months agoupdate jBCrypt dependency to version 0.4
Stefan Miklosovic [Wed, 29 Sep 2021 05:39:29 +0000 (07:39 +0200)] 
update jBCrypt dependency to version 0.4

patch by Stefan Miklosovic; reviewed by Dinesh Joshi for CASSANDRA-9384

10 months agoAdd option for environment variables to CircleCI config generation script
Andrés de la Peña [Tue, 28 Sep 2021 16:45:56 +0000 (17:45 +0100)] 
Add option for environment variables to CircleCI config generation script

patch by Andrés de la Peña; reviewed by Berenguer Blasi, Ekaterina Dimitrova and Ruslan Fomkin for CASSANDRA-16989

10 months agoAvoid useless SSTable reads during single partition queries
Benjamin Lerer [Mon, 13 Sep 2021 08:48:39 +0000 (10:48 +0200)] 
Avoid useless SSTable reads during single partition queries

patch by Benjamin Lerer; reviewed by Caleb Rackliffe for CASSANDRA-16944

10 months agoIgnore LongSharedExecutorPoolTest until SEPThreadpool is re-evaluated
Ekaterina Dimitrova [Mon, 22 Mar 2021 15:18:56 +0000 (16:18 +0100)] 
Ignore LongSharedExecutorPoolTest until SEPThreadpool is re-evaluated

 patch by Ekaterina Dimitrova; reviewed by Ekaterina Dimitrova, Brandon Williams for CASSANDRA-16973

10 months agoFix flaky ViewTest#testTruncateWhileBuilding
Andrés de la Peña [Fri, 24 Sep 2021 10:42:07 +0000 (11:42 +0100)] 
Fix flaky ViewTest#testTruncateWhileBuilding

patch by Andrés de la Peña; reviewed by Berenguer Blasi for CASSANDRA-16972

10 months agoDebian init respects CASSANDRA_HEAPDUMP_DIR
Brandon Williams [Tue, 21 Sep 2021 14:22:25 +0000 (09:22 -0500)] 
Debian init respects CASSANDRA_HEAPDUMP_DIR

Patch by Brandon Williams; reviewed by adelapena for CASSANDRA-13843

10 months agocatch UnsatisfiedLinkError in WindowsTimer
Stephen L. De Rudder [Wed, 15 Sep 2021 02:21:05 +0000 (21:21 -0500)] 
catch UnsatisfiedLinkError in WindowsTimer

Patch by Stephen L. De Rudder; reviewed by brandonwilliams and jmckenzie
for CASSANDRA-16085

10 months agoAdd semver4j to the default shared packages in the jvm dtests
Mick Semb Wever [Fri, 10 Sep 2021 21:55:30 +0000 (23:55 +0200)] 
Add semver4j to the default shared packages in the jvm dtests

(Upgrade to dtest-api-0.0.9)

 patch by Mick Semb Wever; reviewed by Alex Petrov for CASSANDRA-16803

11 months agoAvoid removing batch when it's not created during view replication
Ekaterina Dimitrova [Fri, 16 Jul 2021 20:56:09 +0000 (16:56 -0400)] 
Avoid removing batch when it's not created during view replication
patch by Zhao Yang, Ekaterina Dimitrova; reviewed by Zhao Yang, Ekaterina Dimitrova, Brandon Williams for CASSANDRA-16175

Co-authored-by: Zhao Yang <zhao.yang@datastax.com>
Co-authored-by: Ekaterina Dimitrova <ekaterina.dimitrova@datastax.com>
11 months agomake the addition of regular column to COMPACT tables throw an InvalidRequestException
Stefan Miklosovic [Mon, 16 Aug 2021 16:11:23 +0000 (18:11 +0200)] 
make the addition of regular column to COMPACT tables throw an InvalidRequestException

patch by Stefan Miklosovic; reviewed by Benjamin Lerer for CASSANDRA-14564

11 months agoMerge branch 'cassandra-2.2' into cassandra-3.0
Brandon Williams [Fri, 3 Sep 2021 18:46:52 +0000 (13:46 -0500)] 
Merge branch 'cassandra-2.2' into cassandra-3.0

11 months agoAdd python2 location to RPMs
Mick Semb Wever [Mon, 2 Aug 2021 09:36:36 +0000 (11:36 +0200)] 
Add python2 location to RPMs

Patch by Mck Semb Wever; reviewed by brandonwilliams for
CASSANDRA-16822

11 months agoFix materialized view schema backup as table
Ekaterina Dimitrova [Fri, 9 Jul 2021 21:49:40 +0000 (17:49 -0400)] 
Fix materialized view schema backup as table
patch by Zhao Yang, Ekaterina Dimitrova; reviewed by Benjamin Lerer, Ekaterina Dimitrova for CASSANDRA-12734

Co-authored-by: Zhao Yang <zhao.yang@datastax.com>
Co-authored-by: Ekaterina Dimitrova <ekaterina.dimitrova@datastax.com>
11 months agoAdd resource flags to CircleCI config generation script
Andrés de la Peña [Fri, 20 Aug 2021 10:34:01 +0000 (11:34 +0100)] 
Add resource flags to CircleCI config generation script

patch by Andrés de la Peña; reviewed by Ekaterina Dimitrova for CASSANDRA-16871

11 months agoAvoid signaling DigestResolver until the minimum number of responses are guaranteed...
Caleb Rackliffe [Tue, 24 Aug 2021 19:42:24 +0000 (14:42 -0500)] 
Avoid signaling DigestResolver until the minimum number of responses are guaranteed to be visible

patch by Caleb Rackliffe; reviewed by Jon Meredith for CASSANDRA-16883

11 months agoFix secondary indexes on primary key columns skipping some writes
Andrés de la Peña [Tue, 24 Aug 2021 16:57:53 +0000 (17:57 +0100)] 
Fix secondary indexes on primary key columns skipping some writes

patch by Andrés de la Peña; reviewed by Benjamin Lerer for CASSANDRA-16868

11 months agoRemove possible infinite loop in NIODataInputStreamTest
arunkumar-m [Wed, 18 Aug 2021 13:51:56 +0000 (15:51 +0200)] 
Remove possible infinite loop in NIODataInputStreamTest

patch by arunkumar-m; reviewed by Joel Knighton and Benjamin Lerer for CASSANDRA-12660

11 months agoBuild tests in CircleCI build job
Andrés de la Peña [Mon, 16 Aug 2021 16:48:08 +0000 (17:48 +0100)] 
Build tests in CircleCI build job

patch by Andrés de la Peña; reviewed by Ekaterina Dimitrova for CASSANDRA-16852

11 months agofix incorrect error message in LegacyLayout 1140/head
Stefan Miklosovic [Fri, 13 Aug 2021 13:15:12 +0000 (15:15 +0200)] 
fix incorrect error message in LegacyLayout

12 months agoDockerise cqlshlib tests
Mick Semb Wever [Sun, 18 Jul 2021 08:25:25 +0000 (10:25 +0200)] 
Dockerise cqlshlib tests

 patch by Mick Semb Wever; reviewed by Berenguer Blasi, Brandon Williams for CASSANDRA-16809

12 months agoUse JMX to validate nodetool --jobs parameter
Dmitrii Saprykin [Fri, 6 Aug 2021 17:22:03 +0000 (18:22 +0100)] 
Use JMX to validate nodetool --jobs parameter

patch by Dmitrii Saprykin; reviewed by Andrés de la Peña and Benjamin Lerer for CASSANDRA-16104

Co-authored-by: Andrés de la Peña <a.penya.garcia@gmail.com>
Co-authored-by: Daniel Jatnieks <jatnieks@pobox.com>
Co-authored-by: Dmitrii Saprykin <dmitrii.saprykin@nih.gov>
12 months agoHandle properly UnsatisfiedLinkError in NativeLibrary#getProcessID()
Doug Rohrer [Fri, 30 Jul 2021 09:53:17 +0000 (11:53 +0200)] 
Handle properly UnsatisfiedLinkError in NativeLibrary#getProcessID()

patch by Doug Rohrer; reviewed by Benjamin Lerer and David Capwell for
CASSANDRA-16578

12 months agoRemove mutation data from error log message
Andrés de la Peña [Thu, 29 Jul 2021 10:59:55 +0000 (11:59 +0100)] 
Remove mutation data from error log message

patch by Andrés de la Peña; reviewed by Brandon Williams for CASSANDRA-16817

Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com>
12 months agoIncrememnt version
Brandon Williams [Wed, 28 Jul 2021 19:39:11 +0000 (14:39 -0500)] 
Incrememnt version

12 months agoPrepare for release 3.0.25 cassandra-3.0.25
Brandon Williams [Sun, 25 Jul 2021 16:44:51 +0000 (11:44 -0500)] 
Prepare for release 3.0.25

12 months agoFix broken IntelliJ configuration Authored by Jacek Lewandowski; reviewed by Ekaterin...
jacek-lewandowski [Tue, 20 Apr 2021 07:28:57 +0000 (09:28 +0200)] 
Fix broken IntelliJ configuration Authored by Jacek Lewandowski; reviewed by Ekaterina Dimitrova and Michael Semb Wever for CASSANDRA-16618

12 months agoDon't put apidocs (javadoc) into the binary artifact
Mick Semb Wever [Fri, 9 Apr 2021 07:17:17 +0000 (09:17 +0200)] 
Don't put apidocs (javadoc) into the binary artifact

 patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-15561

12 months agoUpdate IDE, Eclipse and NetBeans, classpaths for tests
Mick Semb Wever [Mon, 5 Apr 2021 09:28:13 +0000 (11:28 +0200)] 
Update IDE, Eclipse and NetBeans, classpaths for tests

 patch by Mick Semb Wever, Berenguer Blasi; reviewd by Ekaterina Dimitrova, Benjamin Lerer for CASSANDRA-16560

12 months agoOffline build mode
Mick Semb Wever [Sat, 3 Apr 2021 00:06:46 +0000 (02:06 +0200)] 
Offline build mode

When all dependencies are already in the local `~/.m2/repository/` we should not be needing an internet connection. ("Offline" mode should be automatic)

 patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-16559

12 months agoMigrate dependency handling from maven-ant-tasks to resolver-ant-tasks
Mick Semb Wever [Sun, 28 Mar 2021 22:51:11 +0000 (00:51 +0200)] 
Migrate dependency handling from maven-ant-tasks to resolver-ant-tasks

- This removes lib/ from version control.
- The generated pom files are now the source of truth to the project's depdendencies, and the lib/ folder re-created during the build from compile scope dependencies excluding provided and system scopes. Project dependencies are first downloaded to the maven local repository at `~/.m2/repository`.
- Maven is now required to be installed to build, that is the `mvn` command needs to be found in the path.
- The new resolver-ant-tasks targets have been encapsulated into the `build/build-resolver.xml` ant file.
- Most classpaths in build.xml are replaced with resolver:resolve definitions.
- The build-deps-pom generated pom file is now only used for declaring test dependencies.

 patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-16557

12 months agoDon't allow seeds to replace without using unsafe
Vincent White [Mon, 21 May 2018 00:30:54 +0000 (00:30 +0000)] 
Don't allow seeds to replace without using unsafe

Patch by Vincent White; reviewed by brandonwilliams and edimitrova for
CASSANDRA-14463

12 months agoMerge branch 'cassandra-2.2' into cassandra-3.0
Ekaterina Dimitrova [Wed, 21 Jul 2021 20:49:34 +0000 (16:49 -0400)] 
Merge branch 'cassandra-2.2' into cassandra-3.0

12 months agoFix pycodestyle compliance
Aleksandr Sorokoumov [Tue, 12 Jan 2021 18:51:28 +0000 (19:51 +0100)] 
Fix pycodestyle compliance
Patch by Aleksandr Sorokoumov; reviewed by Ekaterina Dimitrova and Brandon Williams for CASSANDRA-15985

12 months agoCalculate time remaining correctly for all compaction types in compactionstats
Brandon Williams [Thu, 6 May 2021 18:00:43 +0000 (13:00 -0500)] 
Calculate time remaining correctly for all compaction types in compactionstats

Patch by brandonwilliams; reviewed by adelapena for CASSANDRA-14701

12 months agoMerge branch 'cassandra-2.2' into cassandra-3.0
Ekaterina Dimitrova [Tue, 20 Jul 2021 19:01:34 +0000 (15:01 -0400)] 
Merge branch 'cassandra-2.2' into cassandra-3.0

12 months agoCQL shell should prefer newer TLS version by default
kamlesh-ghoradkar [Tue, 1 Jun 2021 16:46:55 +0000 (12:46 -0400)] 
CQL shell should prefer newer TLS version by default
patch by Kamlesh Ghoradkar; reviewed by Ekaterina Dimitrova, Adam Holmberg, David Capwell, Justin Chu and Brandon Williamms for CASSANDRA-16736

12 months agoReceipt of gossip shutdown updates TokenMetadata
Sam Tunnicliffe [Mon, 12 Jul 2021 16:23:18 +0000 (17:23 +0100)] 
Receipt of gossip shutdown updates TokenMetadata

Patch by Sam Tunnicliffe; reviewed by Caleb Rackliffe for
CASSANDRA-16796

12 months agoAdd config.yml.MIDRES for older Cassandra versions
Ekaterina Dimitrova [Fri, 16 Jul 2021 14:50:10 +0000 (10:50 -0400)] 
Add config.yml.MIDRES for older Cassandra versions
patch by Ekaterina Dimitrova; review by Andres de la Pena for CASSANDRA-16804

12 months agoCount bloom filter misses correctly.
Aleksei Zotov [Thu, 15 Jul 2021 17:40:10 +0000 (21:40 +0400)] 
Count bloom filter misses correctly.

Patch by Aleksei Zotov; reviewed by blerer and blambov for
CASSANDRA-12922

12 months agoReject token() in MV WHERE clause
Krishna Koneru [Tue, 27 Jun 2017 01:18:20 +0000 (11:18 +1000)] 
Reject token() in MV WHERE clause

Patch by Krishna Koneru and Damien Stevenson; review by Benjamin Lerer,
Brandon Williams and Zhao Yang for CASSANDRA-13464

Co-authored-by: Krishna Koneru <krishna.koneru@instaclustr.com>
Co-authored-by: Damien Stevenson <damien@localhost.damien>
12 months agoEnsure java executable is on the path.
Angelo Polo [Fri, 16 Jul 2021 12:54:35 +0000 (07:54 -0500)] 
Ensure java executable is on the path.

Patch by Angelo Polo; reviewed by Aleksei Zotov, brandonwilliams and
edimitrova for CASSANDRA-14325

12 months agoMake speculative retry parameter case-insensitive for backward compatibility with 2.1
Sumanth Pasupuleti [Sat, 20 Feb 2021 07:25:02 +0000 (23:25 -0800)] 
Make speculative retry parameter case-insensitive for backward compatibility with 2.1

patch by Sumanth Pasupuleti; reviewed by Caleb Rackliffe and Ekaterina Dimitrova for CASSANDRA-16467

12 months agodon't log DigestMismatchException at DEBUG
Robert Stupp [Tue, 14 Nov 2017 08:41:09 +0000 (09:41 +0100)] 
don't log DigestMismatchException at DEBUG

patch by Robert Stupp and Aleksandr Soromoukov, reviewed by edimitrova
and brandonwilliams for CASSANDRA-14900

12 months agoBackport CASSANDRA-7950 (Support long names in nodetool output)
kurt [Wed, 14 Mar 2018 04:51:08 +0000 (04:51 +0000)] 
Backport CASSANDRA-7950 (Support long names in nodetool output)

this patch also backports chronological sorting of output for compactionhistory command found in versions from 3.2 included (CASSANDRA-10464)

patch by Kurt Greaves; reviewed by Stefan Miklosovic and Ekaterina Dimitrova for CASSANDRA-14162