Commit Graph

29710 Commits

Author SHA1 Message Date
Sam Tunnicliffe 28630ccbbf Update expected error message which is too specific
Patch by Sam Tunnicliffe; reviewed by Alex Petrov for CASSANDRA-19102
2023-12-07 16:35:02 +00:00
Sam Tunnicliffe 8d6d1774e4 Avoid NPEs when initializing CFSs from local keyspaces before ClusterMetadata is available
Patch by Sam Tunnicliffe; reviewed by Alex Petrov for CASSANDRA-19169
2023-12-07 16:35:02 +00:00
Mick Semb Wever a75814c8f4
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Increment version to 5.0-beta2
2023-12-07 11:26:50 +01:00
Mick Semb Wever bddf368740
Increment version to 5.0-beta2 2023-12-07 11:25:40 +01:00
Jacek Lewandowski ea1f9e4504 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Fix StackOverflowError on ALTER after many previous schema changes
2023-12-06 18:09:39 +01:00
Jacek Lewandowski 676f7ee751 Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Fix StackOverflowError on ALTER after many previous schema changes
2023-12-06 18:05:49 +01:00
Abe Ratnofsky a443990bfa Fix StackOverflowError on ALTER after many previous schema changes
Fix re-wrapping of TableMetadataRefCache fields in
Collections.UnmodifiableMap, which was causing long reference chains
where the underlying map was another instance of an UnmodifiableMap.
Calls to `get` had to traverse all the way down the chain, and would
eventually overflow the stack (and created a fair bit of extra garbage
on the heap).

Patch by Abe Ratnofsky; reviewed by Caleb Rackliffe, Jacek Lewandowski for CASSANDRA-19166
2023-12-06 18:05:47 +01:00
Brandon Williams ad86c9d201 Merge branch 'cassandra-5.0' into trunk 2023-12-06 06:34:26 -06:00
Brandon Williams fdfc5e614d Merge branch 'cassandra-4.1' into cassandra-5.0 2023-12-06 06:33:36 -06:00
Brandon Williams 13e5956285 Merge branch 'cassandra-4.0' into cassandra-4.1 2023-12-06 06:32:48 -06:00
Brandon Williams 8e5fc74c9a Merge branch 'cassandra-3.11' into cassandra-4.0 2023-12-06 06:32:32 -06:00
Brandon Williams 2e3d7e76f5 Merge branch 'cassandra-3.0' into cassandra-3.11 2023-12-06 06:32:19 -06:00
Brandon Williams a1421ec324 Suppress CVE-2023-6378
Patch by brandonwilliams, reviewed by smiklosovic for CASSANDRA-19142
2023-12-06 06:31:27 -06:00
Marcus Eriksson c5a2781b22 Enable bytebuddy rule after starting nodes to fix DecommissionAvoidWriteTimeoutsTest
Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-19090
2023-12-06 10:09:43 +01:00
Sam Tunnicliffe 3ed0903131 In in-jvm dtests, don't mark internode messaging as started until it actually is
Patch by Sam Tunnicliffe; reviewed by Marcus Eriksson for CASSANDRA-19087
2023-12-05 07:50:05 +00:00
Alex Petrov e0766e95bc Fix rejectSubsequentInProgressSequence test: cap message sizes for commit failures
Patch by Alex Petrov; reviewed by Sam Tunnicliffe for CASSANDRA-19076.
2023-12-04 14:01:45 +01:00
Mick Semb Wever f4c969adfc
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Write ccm clusters under test's TMPDIR
2023-12-04 13:30:07 +01:00
Mick Semb Wever fe7997884d
Write ccm clusters under test's TMPDIR
This prevents docker overlay file leakage from containers by keeping write-heavy directories in bind mounts (or volumes). It also offers better performance by avoiding the container filesystem.

 patch by Mick Semb Wever; reviewed Brandon Williams for INFRA-25202
2023-12-04 13:26:57 +01:00
Brandon Williams 7204bc45b6 Revert "Revert "Upgrade jackson to 2.15.3 and snakeyaml to 2.1""
This reverts commit 8cd0690c0b.
2023-12-01 13:15:07 -06:00
Jacek Lewandowski d91997cb04 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Fix repeated tests on CircleCI and long-testsome/burn-testsome targets
2023-12-01 19:40:47 +01:00
Jacek Lewandowski b48fdc7cf2 Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Fix repeated tests on CircleCI and long-testsome/burn-testsome targets
2023-12-01 19:40:46 +01:00
Jacek Lewandowski 4059faf5b9 Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Fix repeated tests on CircleCI and long-testsome/burn-testsome targets
2023-12-01 19:40:45 +01:00
Jacek Lewandowski e1b0b44f9e Fix repeated tests on CircleCI and long-testsome/burn-testsome targets
Patch by Jacek Lewandowski; reviewed by Berenguer Blasi for CASSANDRA-19086
2023-12-01 19:40:44 +01:00
Brandon Williams 8cd0690c0b Revert "Upgrade jackson to 2.15.3 and snakeyaml to 2.1"
This reverts commit 64ae866095.
2023-12-01 11:11:31 -06:00
Marcus Eriksson f74c07d2d3 Lower the number of tables and repairs to avoid timeouts in ClearSnapshotTest
Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-19070
2023-12-01 16:33:04 +01:00
Sam Tunnicliffe 11358bd3a8 Rewrite RegisterTest to verify serialization version ceiling
Patch by Sam Tunnicliffe; reviewed by Marcus Eriksson for CASSANDRA-19073
2023-12-01 14:46:50 +00:00
Marcus Eriksson bd25c05d52 Test failure: materialized_views_test.TestMaterializedViewsConsistency.test_multi_partition_consistent_reads_after_write
Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-19056
2023-12-01 15:36:58 +01:00
Mick Semb Wever 390d8da961
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Prepare debian changelog for 5.0-beta1
2023-12-01 14:33:08 +01:00
Mick Semb Wever 87fd1fa88a
Prepare debian changelog for 5.0-beta1 2023-12-01 14:09:26 +01:00
Mick Semb Wever 98fd6fc5a9
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  ninja-fix changes for 19011
2023-12-01 14:08:17 +01:00
Mick Semb Wever 501e4e6c9b
ninja-fix changes for 19011 2023-12-01 14:07:40 +01:00
Mick Semb Wever 64cdebdb69
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Fix SAI intersection queries
2023-12-01 13:50:15 +01:00
Mike Adamson 6a7bef12ec
Fix SAI intersection queries
- Fix comparison in PostingListRangeIterator for updating skip token
 - Fix binary search in KeyLookup.clusteredSeekToKey
 - Added new on-disk component for storing partition sizes by partition ID

 patch by Mike Adamson; reviewed by Caleb Rackliffe, Mick Semb Wever for CASSANDRA-19011
2023-12-01 13:47:43 +01:00
Mick Semb Wever 500b845003
ninja-fix add addtocmstool tool to bin directory in rpm noboolean package 2023-12-01 13:38:57 +01:00
Mick Semb Wever 2a807fc81b
ninja-fix add addtocmstool tool to bin directory in deb/rpm packages 2023-12-01 13:04:56 +01:00
Alex Petrov f36a518208 Fix test Failure: MixedModeFrom3LoggedBatchTest.testSimpleStrategy
The problem was that read command is deserialising serialisedAt epoch as null by default and not as Empty, causing NPE.

Patch by Alex Petrov; reviewed by Sam Tunnicliffe CASSANDRA-19066.
2023-12-01 13:03:12 +01:00
Alex Petrov e182744cd0 Introduce 5.1 messaging format that brings in Epoch
Patch by Alex Petrov; reviewed by Sam Tunnicliffe CASSANDRA-19066.
2023-12-01 13:02:33 +01:00
Alex Petrov a98a5a1d9d Reduce time the tests run to avoid timeouts
Patch by Alex Petrov; reviewed by Marcus Eriksson for CASSANDRA-19123
2023-12-01 12:09:07 +01:00
Alex Petrov 179711eab6 Improve the situation with timeouts of all fuzz tests.
Since we would wait for request timeout, even if one progress barrier message gets lost,
we would fail the test, since we would wait for 10 minutes of timeout. But since _commit_
is paused, we could just attempt to retry, and only one of the attempts will succeed.

Patch by Alex Petrov; reviewed by Marcus Eriksson for CASSANDRA-19123
2023-12-01 12:06:09 +01:00
Alex Petrov 5f0359b229 Fix ConsistentMoveTest: nodes were getting stuck in assertGossipStatus, since we would log the message, but never change the actual gossip status.
Patch by Alex Petrov; reviewed by Marcus Eriksson for CASSANDRA-19123
2023-12-01 12:04:53 +01:00
Leo Toff ac201d2f04
Make nodetool tablestats use number of significant digits for time and average values consistently
patch by Leo Toff; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-19015
2023-12-01 10:55:42 +01:00
Alex Petrov b45a0e0145 Remove dependency on bundled Harry jar
Patch by Alex Petrov; reviewed by Marcus Eriksson and Sam Tunnicliffe for CASSANDRA-19083
2023-12-01 09:02:27 +01:00
Marcus Eriksson 5613d0a4fe Test failure: org.apache.cassandra.distributed.test.ring.DecommissionTest.test*Version*
Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-19078
2023-11-30 13:06:50 +01:00
Marcus Eriksson da868ab607 Test Failure: org.apache.cassandra.distributed.upgrade.ClusterMetadataUpgradeTest.upgradeWithHintsTest
Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-19063
2023-11-30 13:04:52 +01:00
Alex Petrov 5f2ff4f932 Merge branch 'cassandra-5.0' into trunk 2023-11-30 12:43:49 +01:00
Alex Petrov f46444b628 Remove relocated.shadedad.io.netty.transport.noNative prop
Patch by Alex Petrov, reviewed by Francisco Guerrero for CASSANDRA-19119;
2023-11-30 12:43:40 +01:00
Yifan Cai cbabfd39b1 Merge branch 'cassandra-5.0' into trunk 2023-11-30 17:48:23 +08:00
Yifan Cai 9dc0378c2f Merge branch 'cassandra-4.1' into cassandra-5.0 2023-11-30 17:45:45 +08:00
Yifan Cai 350e968565 Merge branch 'cassandra-4.0' into cassandra-4.1 2023-11-30 17:44:07 +08:00
Yifan Cai 50273d98e4 Support max SSTable size in sorted CQLSSTableWriter
patch by Yifan Cai; reviewed by Alex Petrov, Francisco Guerrero, Maxwell Guo for CASSANDRA-18941
2023-11-30 17:39:00 +08:00