This is an automated email from the ASF dual-hosted git repository. smiklosovic pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/cassandra.git
commit 3ab0d06bc7e5aeae8b9e066ba3f6d30b151c2078 Merge: 3d08f7f125 5c2472cf1c Author: Stefan Miklosovic <[email protected]> AuthorDate: Tue Sep 15 15:11:40 2026 +0200 Merge branch 'cassandra-6.0' into trunk CHANGES.txt | 3 +-- NEWS.txt | 3 +++ .../cassandra/pages/managing/operating/virtualtables.adoc | 15 ++++++++++----- .../org/apache/cassandra/db/virtual/ClientsTable.java | 3 +++ .../org/apache/cassandra/db/virtual/GossipInfoTable.java | 3 +++ .../org/apache/cassandra/db/virtual/ClientsTableTest.java | 3 ++- .../apache/cassandra/db/virtual/GossipInfoTableTest.java | 3 ++- 7 files changed, 24 insertions(+), 9 deletions(-) diff --cc CHANGES.txt index 50fa7e232b,848f792480..306f7ce621 --- a/CHANGES.txt +++ b/CHANGES.txt @@@ -125,35 -115,6 +125,34 @@@ Merged from 4.0 * Differentiate between legitimate cases where the first entry is the same as the last entry and empty bounds in SSTableCursorWriter#addIndexBlock() (CASSANDRA-21255) * Introduce minimum_threshold for data resurrection startup check (CASSANDRA-21293) * Synchronously publish changes to local gossip state following metadata updates (CASSANDRA-21239) +Merged from 5.0: + * Let the commit log allocator observe the shutdown state (CASSANDRA-21616) + * Avoid rebuilding per-SSTable SAI components unless missing or corrupted (CASSANDRA-21515) + * Propagate trickle_fsync settings to compressed SSTable writers (CASSANDRA-21487) + * Allow setCompressedReadAheadBufferSizeInKb(0) to disable read-ahead buffer (CASSANDRA-21522) + * Fix ThreadLocalReadAheadBuffer#fill() to throw a CorruptBlockException if chunk metadata and file size are out of sync (CASSANDRA-21519) + * Support Python 3.12 and 3.13 in cqlsh (CASSANDRA-20997) + * Make synchronization on VectorMemoryIndex inserts more granular (CASSANDRA-21160) + * Fix RequestFailureReason serializer and nits in a few others (CASSANDRA-21437) + * Remove golang dependency in gen-doc and replace with python implementation (CASSANDRA-21432) + * Use estimated compressed size for tables to check if there is enough free space for a compaction (CASSANDRA-21245) + * Fix failing select on system_views.settings for non-string keys (CASSANDRA-21348) +Merged from 4.0: + * Validate authz before performing role check in LIST ROLES/PERMISSIONS (CASSANDRA-21560) + * Add validation to uncompressed length during decompression (CASSANDRA-21567) + * Fix regression in PasswordObfuscator for dollar-quoted passwords (CASSANDRA-21559) - * Do not make DNS lookup when querying system_views.clients for hostname column by removing it (CASSANDRA-21539) + * Fix memtable on-heap accounting drift in BTree.update and BTreeRow.merge (CASSANDRA-21472) + * Bound declared value length against readable bytes in CBUtil (CASSANDRA-21521) + * Verify extension type before initializing reflectively-loaded classes (CASSANDRA-21525) + * Rename conflicting nodetool import --copy-data short option from -p to -cd (CASSANDRA-20214) + * Fix PasswordObfuscator failing to obfuscate certain passwords (CASSANDRA-21113) + * Fix negative memtable allocator ownership when an update is shadowed by an existing row deletion (CASSANDRA-21469) + * Consider first token of SSTable when calculating SSTable intersection in LeveledScanner (CASSANDRA-21369) + * Remove inFlightEcho entry on ECHO_REQ failure (CASSANDRA-21428) + * Validate snapshot names (CASSANDRA-21389) + + +6.0-alpha2 * Change default for cassandra.set_sep_thread_name to false to reduce CPU usage (CASSANDRA-21089) * Avoid permission checks for masked columns when the table doesn't have any (CASSANDRA-21299) * Reduce allocations and array copies due to buffer resizing in LocalDataResponse during row serialization (CASSANDRA-21285) diff --cc NEWS.txt index 20c2422b44,dfd48fad68..7371c78ad0 --- a/NEWS.txt +++ b/NEWS.txt @@@ -74,39 -74,6 +74,42 @@@ restore snapshots created with the prev 'sstableloader' tool. You can upgrade the file format of your snapshots using the provided 'sstableupgrade' tool. +7.0 +=== + +New features +------------ + + - CEP-49 - it is possible to implement custom compression providers, e.g. + integrating with a specialized hardware which makes de/compression faster. + See CASSANDRA-20975 for more information. + - It is now possible to bootstrap a cluster's initial superuser role without + creating the 'cassandra/cassandra' password, by configuring 'default_role_initializer' + in cassandra.yaml. The new MutualTlsDefaultRoleInitializer creates the role + passwordless and maps a client certificate identity onto it instead, for + deployments that authenticate over mutual TLS. PasswordDefaultRoleInitializer + remains the default and produces the historical behaviour. See CASSANDRA-21546 + for more information. + +Upgrading +--------- + - memtable_offheap_space: 0 is now rejected at startup when memtable_allocation_type is + offheap_buffers or offheap_objects. Set a positive memtable_offheap_space, or an allocation + type that does not allocate off-heap. See CASSANDRA-21019. + + - trickle_fsync is by default set to "true" instead of "false" in cassandra.yaml (see CASSANDRA-21572) + - Authorizing a batch or an Accord transaction now performs the table permission checks once per run of + consecutive statements on the same table rather than once per statement. The permissions required are + unchanged, and the datacenter and CIDR checks that ride along with them still run at least once per + request. Auth cache request/hit/miss counts and the system_views.cidr_filtering_metrics_* counts and + latencies will therefore report fewer events than before. (see CASSANDRA-21606) ++ - The hostname column in system_views.clients will no longer perform a reverse DNS lookup and will instead ++ return the same value as the address column. This avoids the risk of client connections overwhelming ++ DNS. (CASSANDRA-21539) + +Deprecation +----------- + 6.0 === --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
