Commit Graph

29547 Commits

Author SHA1 Message Date
Alex Petrov 439d1b122a Bring Harry into C* Tree
Patch by Alex Petrov; reviewed by Caleb Rackliffe and Marcus Eriksson for CASSANDRA-19210.
2023-12-23 15:04:25 +01:00
Mike Adamson b757dad43f Merge branch 'cassandra-5.0' into trunk 2023-12-22 13:10:08 +00:00
Mike Adamson 7447ee5bdd Avoid random IndexStreamingFailureTest failures
Change how ByteBuddy injections are handled to avoid ByteBuddy
failures after node restarts

Patch by Mike Adamson; reviewed by Caleb Rackliffe for CASSANDRA-19084
2023-12-22 13:01:03 +00:00
Jacek Lewandowski a7c614d85f Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Memoize Cassandra verion and add a backoff interval for failed schema pulls
2023-12-22 11:52:34 +01:00
Jacek Lewandowski 977f245906 Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Memoize Cassandra verion and add a backoff interval for failed schema pulls
2023-12-22 11:49:20 +01:00
Jacek Lewandowski 3edca0041c Memoize Cassandra verion and add a backoff interval for failed schema pulls
Also, fixes MigrationCoordinatorTest and adds version assertions to Instance.startup

Patch by Jacek Lewandowski; reviewed by Ekaterina Dimitrova for CASSANDRA-18902
2023-12-22 11:49:19 +01:00
Jacek Lewandowski 5321f88c40 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Add a startup check to fail startup when using invalid configuration with certain Kernel and FS type
2023-12-21 16:43:36 +01:00
Jacek Lewandowski f0ea12c6d7 Add a startup check to fail startup when using invalid configuration with certain Kernel and FS type
Patch by Jacek Lewandowski; reviewed by Maxwell Guo, Stefan Miklosovic for CASSANDRA-19196
2023-12-21 16:42:31 +01:00
Mike Adamson f76f328622 Merge branch 'cassandra-5.0' into trunk 2023-12-20 15:27:20 +00:00
Mike Adamson 3b05051f86 Simplify segment building in SAI to use single in-memory structure
This removes the RAMStringIndexer for literal indexes and replaces
  it with a SegmentTrieBuffer that replaces BlockBalancedTreeRamBuffer
  for literal and numeric indexes.

patch by Mike Adamson; reviewed by Andrés de la Peña, Caleb Rackliffe for CASSANDRA-18598
2023-12-20 15:14:41 +00:00
Alex Petrov bc0c8f6317 Ninja: fix checkstyle after cherry-pick. 2023-12-20 15:10:53 +01:00
Alex Petrov b7e5675edd Remove conf/harry-example.yaml
Patch by Alex Petrov, reviewed by Sam Tunnicliffe for CASSANDRA-19081/CASSANDRA-19208
2023-12-20 14:57:32 +01:00
Alex Petrov 9db161f038 Fix ShortPaxosSimulationTest.simulationTest
Patch by Alex Petrov, reviewed by Sam Tunnicliffe for CASSANDRA-19058
2023-12-20 14:42:28 +01:00
Alex Petrov 0989a219ad Fix HarrySimulatorTest.harryTest
Patch by Alex Petrov, reviewed by Sam Tunnicliffe for CASSANDRA-19094.
2023-12-20 14:42:16 +01:00
Jacek Lewandowski 6fb2de3c95 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Updated the OWASP plugin to 9.0.5 and refactored dependency checks
2023-12-20 12:59:57 +01:00
Jacek Lewandowski 790798dea0 Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Updated the OWASP plugin to 9.0.5 and refactored dependency checks
2023-12-20 12:59:55 +01:00
Jacek Lewandowski 481d2fd51d Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Updated the OWASP plugin to 9.0.5 and refactored dependency checks
2023-12-20 12:59:54 +01:00
Jacek Lewandowski 891f1119a0 Merge branch 'cassandra-3.11' into cassandra-4.0
* cassandra-3.11:
  Updated the OWASP plugin to 9.0.5 and refactored dependency checks
2023-12-20 12:59:53 +01:00
Jacek Lewandowski 09c46750f6 Merge branch 'cassandra-3.0' into cassandra-3.11
* cassandra-3.0:
  Updated the OWASP plugin to 9.0.5 and refactored dependency checks
2023-12-20 12:59:52 +01:00
Jacek Lewandowski 4c3b96e4cd Updated the OWASP plugin to 9.0.5 and refactored dependency checks
Configured OWASP database to use caching and NVD key. Properties can be
configured in ~/.ant/build.properties and define both the key and
the storage location

Patch by Jacek Lewandowski; reviewed by Maxim Muzafarov, Stefan Miklosovic for CASSANDRA-19146
2023-12-20 12:59:51 +01:00
Jyothsna Konisa bfcb21fbeb Set right client auth for creating SSL context in mTLS optional mode
patch by Jyothsna Konisa; reviewed by Francisco Guerrero, Jon Meredith for CASSANDRA-18811
2023-12-19 13:54:28 -07:00
Stefan Miklosovic 447d2bcee7
Merge branch 'cassandra-5.0' into trunk 2023-12-19 20:32:36 +01:00
Claude Warren e6ffd8b4f7
UCS min_sstable_size should not be lower than target_sstable_size lower bound
patch by Claude Warren; reviewed by Ethan Brown, Branimir Lambov and Stefan Miklosovic for CASSANDRA-19112
2023-12-19 20:26:14 +01:00
Jacek Lewandowski 08c46d0963 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Fix the correspondingMessagingVersion of SSTable format and improve TTL overflow tests coverage
2023-12-15 09:44:46 +01:00
Jacek Lewandowski 2fc2be54ca Fix the correspondingMessagingVersion of SSTable format and improve TTL overflow tests coverage
Patch by Jacek Lewandowski; reviewed by Berenguer Blasi for CASSANDRA-19197
2023-12-15 09:40:37 +01:00
Brandon Williams 85a0b9b5dc Merge branch 'cassandra-5.0' into trunk 2023-12-14 08:49:59 -06:00
Brandon Williams f9ebec98a2 Fix cqlshlib cython test by definining DIST_DIR
Patch by brandonwilliams, reviewed by bereng for CASSANDRA-19183
2023-12-14 08:49:23 -06:00
Mike Adamson afa86df27d Merge branch 'cassandra-5.0' into trunk 2023-12-13 12:28:40 +00:00
Mike Adamson 5ec0669bec Fix resource cleanup after SAI query timeouts
patch by Mike Adamson; reviewed by Caleb Rackliffe for CASSANDRA-19177
2023-12-13 12:20:32 +00:00
Marcus Eriksson 901786ec27 Avoid race inserting new data in compaction_history during truncation in SystemKeyspaceMigrator41Test.testMigrateCompactionHistory
Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-19098
2023-12-12 10:28:54 +01:00
Mick Semb Wever c069a0ffb6
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Rewrite compaction documentation, adding UCS
2023-12-08 23:39:13 +01:00
Lorina Poland 93a4fcd32c
Rewrite compaction documentation, adding UCS
Adds some SAI/Vector doc fixes too.

 patch by Lorina Poland, Branimir Lambov; reviewed by Mick Semb Wever for CASSANDRA-18232
2023-12-08 22:54:23 +01:00
Brandon Williams 8f759e01d5 Merge branch 'cassandra-5.0' into trunk 2023-12-08 08:56:37 -06:00
Brandon Williams a92de92b8c Suppress CVE-2023-6481
Patch by brandonwilliams, reviewed by smiklosovic for CASSANDRA-19184
2023-12-08 08:55:40 -06:00
Marcus Eriksson 1a46e96890 Don't start MessagingService unnecessarily to speed up tests and to avoid memory leak
Patch by marcuse; reviewed by Alex Petrov for CASSANDRA-19125
2023-12-08 12:42:53 +01:00
Sam Tunnicliffe 1df9148ed1 Fix FetchLogFromPeersTest with vnodes
Patch by Sam Tunnicliffe; reviewed by Alex Petrov for CASSANDRA-19072
2023-12-07 17:11:02 +00:00
Sam Tunnicliffe b470117733 Fix potential for unintended address clash in test case
Patch by Sam Tunnicliffe; reviewed by Alex Petrov for CASSANDRA-19171
2023-12-07 16:35:02 +00:00
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