Tags: datastax/cassandra
Tags
CNDB-14577: Compact all SSTables of a level shard if their number rea… ( #1925) …ches a limit (#1873) CNDB-14577: [UCS by default does not compact many small non-overlapping sstables with very few rows](riptano/cndb#14577) This PR limits the number of SSTables for a given compaction level shard by executing a major compaction of the shard instead of the regular compaction of overlapping SSTables if the number of SSTables reaches a threshold. The threshold is controlled by the `max_sstables_per_shard_factor` setting: ```md `max_sstables_per_shard_factor` Limits the number of SSTables per shard. If the number of sstables in a shard exceeds this factor times the shard compaction threshold, a major compaction of the shard will be triggered. Some conditions like slow writes can lead to SSTables being very small, and never overlap with enough other SSTables to be compacted. So this setting is useful to prevent the number of SSTables in a shard from growing too large, which can cause problems due to the per-sstable overhead. Also these small SSTables may still have overlaps even if under the compaction threshold (eg. due to write replicas) and never compacting them wastes storage space. The default value is 10. ``` --------- ### What is the issue ... ### What does this PR fix and why was it fixed ... Co-authored-by: Christophe Bornet <[email protected]>
A CC version based on https://github.com/datastax/cassandra/releases/… …tag/cndb-main-release-202505-HF3 it contains HCD 1.2.3 specific patches.
CNDB-11666: Batch clusterings into single SAI partition post-filterin… …g reads (#1897) Port of CASSANDRA-19497. Co-authored-by: Caleb Rackliffe <[email protected]> Co-authored-by: Michael Marshall <[email protected]> Co-authored-by: Andrés de la Peña <[email protected]>
Hcd-130 incremental repair failure during compaction (#1743) ### What is the issue Concurrent and incremental repairs would spin fail or deadlock. ### What does this PR fix and why was it fixed Concurrent and incremental repairs would spin fail. This patch: - Removes an optimization failing to observe max parallelism - Provides an improved algorithm to enforce max parallelism - Closes transactions on some exceptions failing to be caught - Removes a deadlock between cfs and the compaction strategy for long running sequential operations
CNDB-14602: Fix bytes-based paging for partition deletions (#1836) Only preserve the original data size or rows in case of purging. Fixes DBPE-16935. Cherry picked from riptano/cndb#14602, which was merged to main as c5e2e64
HCD 1.2.2 beta 2nd release with TDE and CC May release fixes
PreviousNext