cassandra.git
6 days agoFix writetime and ttl functions forbidden for collections instead of multicell columns cassandra-3.0
Andrés de la Peña [Fri, 17 Jun 2022 10:59:29 +0000 (11:59 +0100)] 
Fix writetime and ttl functions forbidden for collections instead of multicell columns

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

12 days agoSuppress CVE-2020-7238
Brandon Williams [Fri, 17 Jun 2022 14:04:08 +0000 (09:04 -0500)] 
Suppress CVE-2020-7238

Patch by brandonwilliams; reviewed by bereng for CASSANDRA-17697

2 weeks agoMerge branch 'cassandra-2.2' into cassandra-3.0
Mick Semb Wever [Sun, 19 Jun 2022 14:38:34 +0000 (16:38 +0200)] 
Merge branch 'cassandra-2.2' into cassandra-3.0

2 weeks agoFix retries for stage builds that do not throw failures cassandra-2.2
Mick Semb Wever [Sun, 19 Jun 2022 13:06:03 +0000 (15:06 +0200)] 
Fix retries for stage builds that do not throw failures

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

3 weeks agoFix flaky test - org.apache.cassandra.distributed.test.MessageForwardingTest.mutation...
Jon Meredith [Sun, 5 Jun 2022 21:13:24 +0000 (15:13 -0600)] 
Fix flaky test - org.apache.cassandra.distributed.test.MessageForwardingTest.mutationsForwardedToAllReplicasTest

patch by Jon Meredith; reviewed by David Capwell for CASSANDRA-17583

5 weeks agoMerge branch 'cassandra-2.2' into cassandra-3.0
Mick Semb Wever [Sat, 28 May 2022 11:52:34 +0000 (13:52 +0200)] 
Merge branch 'cassandra-2.2' into cassandra-3.0

5 weeks agoIn jenkins retry each stage build in the pipeline
Mick Semb Wever [Thu, 26 May 2022 12:06:47 +0000 (14:06 +0200)] 
In jenkins retry each stage build in the pipeline

attempts to alleviate the false-negatives from CI infrastructure faults (disks, network, etc)

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

5 weeks agojvm-dtest upgrade failures due to 3.x Ping not allowing serialize
David Capwell [Wed, 25 May 2022 18:39:41 +0000 (11:39 -0700)] 
jvm-dtest upgrade failures due to 3.x Ping not allowing serialize

patch by David Capwell; reviewed by Jon Meredith for CASSANDRA-17660

6 weeks agoFix issue where frozen maps may not be serialized in the correct order
Doug Rohrer [Tue, 17 May 2022 19:09:16 +0000 (15:09 -0400)] 
Fix issue where frozen maps may not be serialized in the correct order

patch by Doug Rohrer, Francisco Guerrero and Yifan Cai; reviewed by Andrés de la Peña and Caleb Rackliffe for CASSANDRA-17623

Co-authored-by: Doug Rohrer <drohrer@apple.com>
Co-authored-by: Francisco Guerrero <frank.guerrero@gmail.com>
Co-authored-by: Yifan Cai <ycai@apache.org>
6 weeks agoSuppress CVE-2022-24823
Brandon Williams [Wed, 18 May 2022 15:06:34 +0000 (10:06 -0500)] 
Suppress CVE-2022-24823

Patch by brandonwilliams; reviewed by edimitrova for CASSANDRA-17633

7 weeks agoPrepare debian changelog for 3.0.27, bump version to 3.0.28
Mick Semb Wever [Fri, 13 May 2022 23:24:37 +0000 (01:24 +0200)] 
Prepare debian changelog for 3.0.27, bump version to 3.0.28

7 weeks agoFsync TOC and Digest files after they're written
Maciej Sokol [Tue, 19 Apr 2022 08:22:55 +0000 (10:22 +0200)] 
Fsync TOC and Digest files after they're written

Patch by Maciej Sokol; reviewed by brandonwilliams and bereng for
CASSANDRA-10709

7 weeks 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

8 weeks 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

2 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

2 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>
2 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

2 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

2 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

3 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

3 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

3 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

3 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

3 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

4 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

4 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

4 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

4 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

4 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

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

4 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

4 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

4 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

4 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

4 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>
4 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

5 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

5 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

5 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>
5 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

5 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

5 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

5 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

6 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

7 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

7 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

7 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

7 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

7 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

7 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

8 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>
8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

9 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

9 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

9 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>
9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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>
9 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

9 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

9 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

9 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>
10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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>
11 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

11 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>
11 months agoIncrememnt version
Brandon Williams [Wed, 28 Jul 2021 19:39:11 +0000 (14:39 -0500)] 
Incrememnt version

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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