Commit Graph

29710 Commits

Author SHA1 Message Date
Paulo Motta 7d6cc31b21 Merge branch 'cassandra-5.0' into trunk 2024-01-10 11:22:03 -05:00
Paulo Motta e04a3176ff Merge branch 'cassandra-4.1' into cassandra-5.0
Closes #3004
2024-01-10 11:21:37 -05:00
Paulo Motta 3d1b981d89 Merge branch 'cassandra-4.0' into cassandra-4.1
Closes #2968
2024-01-10 11:18:34 -05:00
Isaac Reath 475c0035e6 [CASSANDRA-18999] Gossiper::hasMajorVersion3Nodes returns true when a cluster is upgrading patch version without Cassandra 3 nodes.
This commit fixes Gossiper::hasMajorVersion3Nodes so that it does not return true when all hosts have a known version, no hosts are on a version earlier than 4.0, and there is a 4.x minor version or patch version upgrade in progress. Additionally, this commit improves the clarity of Gossiper::hasMajorVersion3Nodes's name to indicate that it will return true when the cluster has 3.x nodes or if the cluster state is unknown, matching the description in the in-line comment.

patch by Isaac Reath; reviewed by Paulo Motta and Stefan Miklosovic for CASSANDRA-18999

Closes #2967
2024-01-10 11:14:49 -05:00
Caleb Rackliffe 2e7c0ee5c6 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Revert unnecessary read lock acquisition when reading ring version in TokenMetadata introduced in CASSANDRA-16286
2024-01-09 15:07:06 -06:00
Caleb Rackliffe 14c773d8bc Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Revert unnecessary read lock acquisition when reading ring version in TokenMetadata introduced in CASSANDRA-16286
2024-01-09 15:05:25 -06:00
Caleb Rackliffe 4dd69dc62d Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Revert unnecessary read lock acquisition when reading ring version in TokenMetadata introduced in CASSANDRA-16286
2024-01-09 14:53:51 -06:00
Caleb Rackliffe d5cea135c9 Revert unnecessary read lock acquisition when reading ring version in TokenMetadata introduced in CASSANDRA-16286
patch by Caleb Rackliffe; reviewed by Francisco Guerrero for CASSANDRA-19107
2024-01-09 12:23:13 -06:00
Leo Toff 9db908917a
Standardize nodetool tablestats formatting of data units
patch by Leo Toff; reviewed by Stefan Miklosovic, Brandon Williams for CASSANDRA-19104
2024-01-05 12:34:05 +01:00
Stefan Miklosovic d557b68648
Merge branch 'cassandra-5.0' into trunk 2024-01-05 11:12:34 +01:00
Stefan Miklosovic ad642d5e25
Creating a SASI index after creating an SAI index does not break secondary index queries
patch by Stefan Miklosovic; reviewed by Caleb Rackliffe, Andres de la Peña for CASSANDRA-18939
2024-01-05 11:05:44 +01:00
Stefan Miklosovic 82c01d5e0e
Merge branch 'cassandra-5.0' into trunk 2024-01-05 10:38:24 +01:00
Stefan Miklosovic 8ce4a6d1ec
Optionally fail when a non-partition-restricted query is issued against an index
patch by Stefan Miklosovic; reviewed by Caleb Rackliffe for CASSANDRA-18796
2024-01-02 10:31:34 +01:00
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