Commit Graph

31678 Commits

Author SHA1 Message Date
Mick Semb Wever 1ee7ed7dde
Prepare debian changelog for 6.0-alpha1 2026-03-21 23:53:00 +01:00
Mick Semb Wever 677341dc1a
Increment to version 6.0-alpha1 2026-03-21 23:31:49 +01:00
mck 6590cb5aaf
Change trunk from 5.1 to 6.0
patch by Mick Semb Wever; reviewed by Dmitry Konstantinov for CASSANDRA-21243
2026-03-21 22:55:40 +01:00
Sam Tunnicliffe 5c07c122be Ninja: increase heap size in LocalRangesAllSettledBench
Follow up to 4454ab8699 (CASSANDRA-21144)
2026-03-19 10:27:57 +00:00
Mick Semb Wever 5f9b1bbfa9
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Prepare debian changelog for 5.0.7
  Prepare debian changelog for 4.1.11
  Prepare debian changelog for 4.0.20
2026-03-18 01:18:18 +01:00
Mick Semb Wever f92bf170d8
Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Prepare debian changelog for 4.1.11
  Prepare debian changelog for 4.0.20
2026-03-18 01:17:54 +01:00
Mick Semb Wever 4130d358a4
Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Prepare debian changelog for 4.0.20
2026-03-18 01:17:26 +01:00
Mick Semb Wever 0269fd5665
Prepare debian changelog for 5.0.7 2026-03-18 00:54:34 +01:00
Mick Semb Wever 3ec081578d
Prepare debian changelog for 4.1.11 2026-03-18 00:19:21 +01:00
Mick Semb Wever c48b9f011d
Prepare debian changelog for 4.0.20 2026-03-17 23:47:42 +01:00
mck ee273af1d6
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Add option to disable cqlsh history
2026-03-17 23:09:49 +01:00
mck be0b73ecba
Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Add option to disable cqlsh history
2026-03-17 23:08:14 +01:00
mck ec39ef3193
Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Add option to disable cqlsh history
2026-03-17 23:06:38 +01:00
Ekaterina Dimitrova b47179b7d4
Add option to disable cqlsh history
We can disable saving of the history either via command-line parameter --disable-history, or by setting disabled = True in the history section of the cqlshrc. Both options will read existing history, and just won't save new commands.

Update help and docs for cqlsh history.
Add startup info logline whenr history logging is enabled.
Add a fix for cqlshrc file path not correctly expanding.

Includes the Backport of
  Allows users to change cqlsh history location using env variable
  patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-17448

patch by Ekaterina Dimitrova; reviewed by Mick Semb Wever for CASSANDRA-XXX

Co-authored-by: Alex Ott alex.ott@datastax.com
Co-authored-by: Jaroslaw Grabowski jaroslaw.grabowski@datastax.com
2026-03-17 23:01:57 +01:00
mck cd9d6daa9e
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  ninjafix – CassandraRoleManagerTest (CASSANDRA-21202)
2026-03-17 22:49:22 +01:00
mck 43bee25cec
Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  ninjafix – CassandraRoleManagerTest (CASSANDRA-21202)
2026-03-17 22:47:15 +01:00
mck cf948946be
Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  ninjafix – CassandraRoleManagerTest (CASSANDRA-21202)
2026-03-17 22:42:10 +01:00
mck 2ce273a118
ninjafix – CassandraRoleManagerTest (CASSANDRA-21202) 2026-03-17 22:07:03 +01:00
Caleb Rackliffe 0bbddf610b Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Refactor SAI ANN query execution to use score ordered iterators for correctness and speed
2026-03-17 15:35:08 -05:00
Michael Marshall 23ec1c8a3f Refactor SAI ANN query execution to use score ordered iterators for correctness and speed
Rewrites ANN search query execution logic to more efficiently merge graph search results using
similarity score-ordered (descending) iterators to merge segments efficiently. Allows for reduced memory
consumption during queries, reduced impact of overwrites and tombstones, selective re-querying of
minimally necessary graphs, and reduced shuffling of PrimaryKey objects.

patch by Michael Marshall; reviewed by Caleb Rackliffe and Michael Semb Wever for CASSANDRA-20086
2026-03-17 15:14:13 -05:00
Sam Tunnicliffe 4454ab8699 Improve writePlacementsAllSettled performance in large clusters with many ongoing range movements
Only inflight MSOs which affect the local node need to be
applied to determine the settled local ranges

Patch by Sam Tunnicliffe; reviewed by Marcus Eriksson for
CASSANDRA-21144
2026-03-17 11:11:22 +00:00
mck 5f9de8ca13
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Rate limit password changes
2026-03-16 22:06:27 +01:00
mck a2e55684de
Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Rate limit password changes
2026-03-16 22:04:58 +01:00
mck 1cbdef6272
Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Rate limit password changes
2026-03-16 22:04:01 +01:00
mck 17c573f800
Rate limit password changes
Introduces property cassandra.role_password_update_interval_in_ms, with default value of 5000.
Logging added when passwords on roles are changed or are rate-limited.

 patch by Mick Semb Wever; reviewed by Doug Rohrer, Jeremiah Jordan for CASSANDRA-21202
2026-03-16 22:02:41 +01:00
Caleb Rackliffe a78504f541 Revert to making IdentityHashCode#applyAsInt() synchronized for JDK 21
patch by Caleb Rackliffe; reviewed by Dmitry Konstantinov for CASSANDRA-21213
2026-03-16 15:56:47 -05:00
Francisco Guerrero 5bd164477f Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Disallow binding an identity to a superuser when the user is a regular user
2026-03-16 13:40:31 -07:00
Francisco Guerrero b584a43597 Disallow binding an identity to a superuser when the user is a regular user
patch by Francisco Guerrero; reviewed by Mick Semb Wever for CASSANDRA-21219
2026-03-16 13:32:20 -07:00
Sam Tunnicliffe 07885ef317 Make shadow gossip round parameters configurable for testing
Patch by Sam Tunnicliffe; reviewed by Marcus Eriksson for
CASSANDRA-21149
2026-03-16 17:58:46 +00:00
Sam Tunnicliffe 59d57e3eb7 Remove potential gossip deadlock during decommission
Remove unnecessary updating of local app state when leaving

Patch by Sam Tunnicliffe; reviewed by Marcus Eriksson for
CASSANDRA-21143
2026-03-16 15:23:03 +00:00
Sam Tunnicliffe 50c314eaec Consensus groups for range movements can omit future owners of merging ranges
* Expand affected ranges to include removals
* Don't create waiters for replica groups of future ranges not yet in placements

Patch by Sam Tunnicliffe; reviewed by Marcus Eriksson for
CASSANDRA-21142
2026-03-16 15:15:23 +00:00
samlightfoot ea3d8a3d31 Wire compaction_read_disk_access_mode through cursor-based compaction
Make MemoryUtil.clean() throw for slices/duplicates that cannot be cleaned and fix mmap cleanup
Parameterise main compaction tests for cursor/iterator and buffered/direct combinations

patch by Sam Lightfoot; reviewed by Ariel Weisberg, Dmitry Konstantinov for CASSANDRA-21147
2026-03-16 11:19:05 +00:00
Marcus Eriksson a8be2e4bd9 ninja-fix add offlineclustermetadatadump tool to bin directory in deb/rpm packages 2026-03-16 08:52:12 +01:00
Stefan Miklosovic cb51969eb0
Merge branch 'cassandra-5.0' into trunk 2026-03-15 18:50:59 +01:00
Stefan Miklosovic c439be9390
Merge branch 'cassandra-4.1' into cassandra-5.0 2026-03-15 18:38:43 +01:00
Stefan Miklosovic 4c7367d739
Merge branch 'cassandra-4.0' into cassandra-4.1 2026-03-15 18:36:43 +01:00
Stefan Miklosovic 3ad4794aa0
Node does not send multiple inflight echos
patch by Cameron Zemek; reviewed by Stefan Miklosovic, Brandon Williams for CASSANDRA-18866
2026-03-15 18:31:14 +01:00
mck 076c6f1136
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Fix ConcurrentModificationException in compaction garbagecollect
2026-03-13 22:35:30 +01:00
Joaquin Casares 2b1c8395eb
Fix ConcurrentModificationException in compaction garbagecollect
patch by Joaquin Casares; reviewed by Mick Semb Wever for CASSANDRA-21065
2026-03-13 22:32:06 +01:00
Sunil Ramchandra Pawar 8d325d50ed Allow value/element indexing on frozen collections in SAI
patch by Sunil Ramchandra Pawar; reviewed by Caleb Rackliffe, David Capwell, and Andres de la Peña for CASSANDRA-18492
2026-03-13 11:47:23 -05:00
Aleksey Yeshchenko b50152af22 Merge branch 'cassandra-5.0' into trunk 2026-03-13 15:08:19 +00:00
Aleksey Yeshchenko 40d52159f7 Merge branch 'cassandra-4.1' into cassandra-5.0 2026-03-13 14:58:07 +00:00
Aleksey Yeschenko 65ddddf6fb Fix ant generate-eclipse-files
patch by Aleksey Yeschenko; reviewed by Alex Petrov for CASSANDRA-21215
2026-03-13 14:53:26 +00:00
Abhijeet Dubey 88b373a631 Add tool to offline dump cluster metadata and the log
Patch by Abhijeet Dubey; reviewed by Sam Tunnicliffe and marcuse for CASSANDRA-21129
2026-03-13 15:21:19 +01:00
minal-kyada 9bedf98b6e Send client warnings when writing to a large partition
Patch by Minal Kyada; reviewed by David Capwell and marcuse for CASSANDRA-17258
2026-03-13 12:44:30 +01:00
Caleb Rackliffe 87d79f30a0 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Randomize Memtable type/allocation type and SSTable format in Simulator tests
2026-03-11 16:09:47 -05:00
Shruti Sekaran ddfba19f9e Randomize Memtable type/allocation type and SSTable format in Simulator tests
patch by Shruti Sekaran; reviewed by Caleb Rackliffe and Francisco Guerrero for CASSANDRA-21177
2026-03-11 16:05:10 -05:00
Brad Schoening cdb67f62ff CASSANDRA-20573 added JDBC to drivers documentation page
patch by Brad Schoening; reviewed by Bernardo Botella for CASSANDRA-20573
2026-03-11 14:06:24 -05:00
Stefan Miklosovic fa85a056b2
Merge branch 'cassandra-5.0' into trunk 2026-03-11 14:22:55 +01:00
Stefan Miklosovic b5b1c529f7
Merge branch 'cassandra-4.1' into cassandra-5.0 2026-03-11 14:20:29 +01:00