This short report brings to light some interesting commits to scylladb.git master from the last week. Commits in the 5c564214854..99110b3c186 range are covered.
There were 319 non-merge commits from 34 authors in that period. Some notable commits:
A new sstable format mu now embeds compression positions in the primary indexes rather than in memory. This allows increasing the storage:memory ratio.
Compaction can now detect when sstable runs are compacted together after a tablet merge and splice them instead of running a full compaction, avoiding significant work.
The scripts around scylla_setup gained a test suite and some bug fixes discovered thereby.
The CODEOWNERS files was removed, as Github was not routing reviews correctly with it.
Incremental repair now performs fewer file operations while building its snapshot.
Upgraded clusters now default to the mt sstable format with Trie indexes. This was already the case for newly installed clusters.
The nodetool listsnapshots command now reports snapshot creation and expiration times.
The build system uses Conan for some dependencies. The goal is to gradually switch over from the Fedora-based frozen toolchain container.
Time-Window Compaction Strategy and Leveled Compaction Strategy internally use size-tiering when conditions require it, like write floods. They now use Incremental Compaction Strategy rather than Size-Tiered Compaction Strategy for this.
One can now set the preferred rack for strongly consistent tables. The database will use the preferred rack for the Raft leader. This can reduce latency when the application is co-located on the same rack.
A regression that caused the superword-level parallelism compiler pass to be enabled was fixed. This compiler pass is known to generate suboptimal code.
The TABLETS_ROUTING_V2 is a protocol used to indicate tablet placement and raft leader location. It now supports BATCH statements.
ScyllaDB will now hide password hashes in audit logs.
Repair for small vnodes tables reduces the number of ranges repaired as it tends to dominate repair time. This exposed a bug where rows that were awaiting cleanup were transferred. This is now fixed.
Some bugs in read-repair of reversed queries were fixed.
Logstor is a new, experimental key/value storage engine. It now stores its in-memory index using the log-structured allocator. This reduces memory fragmentation and cooperates better with the sstables engine.
Logstor record reads from disk were optimized to use less CPU.
Internal RPC communications can be compressed. This is now preemptible, avoiding stalls when large messages are compressed.
Resharding is the process of rearranging data ownership among shards, offline when a node is starting. It is used in vnodes to tablets migrations. It can now recover from failure due to running out of disk space.
The CREATE OR REPLACE FUNCTION/AGGREGATE statements now report when a function or aggregate was indeed replaced.
Deletion of sstables stored on S3 now happens with more performant multiple objects deletion request.
ScyllaDB is able to cache the cursor of a range read across page requests, so it does not have to be re-created. This failed to work for tables without clustering keys. This is now fixed.
A bug which could cause endless intra-node tablet migrations was fixed.
Compaction now avoids resurrecting data if a race condition happens when a memtable is flushed concurrently with a compaction.
We now limit how deeply CQL types can nest, to avoid potential stack overflows.
See you in the next issue of last week in scylladb.git master!