Skip to content

Integrate new keeper storage - #110065

Merged
alexey-milovidov merged 3 commits into
kpreintfrom
kint
Jul 29, 2026
Merged

alexey-milovidov merged 3 commits into
kpreintfrom
kint

Conversation

@al13n321

Copy link
Copy Markdown
Contributor

Changelog category (leave one):

  • New Feature

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

  • Keeper can store data on disk in LSM tree now. Use use_new_storage and storage_memory_only coordination settings to enable.

This PR is stacked on top of #108583 and #107261

@al13n321
al13n321 force-pushed the kint branch 2 times, most recently from a1322f3 to a1f1dfc Compare July 11, 2026 00:06
@JTCunning JTCunning added the comp-keeper ClickHouse Keeper (Raft-based coordination layer; ZooKeeper replacement) and ZooKeeper client lib... label Jul 13, 2026
al13n321 and others added 3 commits July 16, 2026 20:48
New events, all with the `KeeperLSMT` prefix, also registered in
`KeeperConstants.cpp` for the standalone keeper build:
 * flushes and merges finished successfully; exceptions in flushes, merges,
   and file deletions;
 * compressed and uncompressed bytes written by flushes;
 * in merge's `publish_results`: published output files and their compressed
   and uncompressed bytes, consumed input files and their uncompressed bytes
   (i.e. read and write throughput measured in files and in bytes);
 * entries appended by `appendUncommittedNode` (count and serialized bytes,
   broken down by `NodeAction`), and serialized bytes appended by
   `appendCommittedNode`;
 * throttled writes; committed and uncommitted memtables created;
 * `getUncommittedNode` hits and misses in uncommitted memtables;
 * the three return cases of `getCommittedNode`, and node cache entries
   re-pointed at a freshly loaded block;
 * for list operations: names obtained from memtables and from files, blocks
   and entries scanned by `SortedFile::listChildrenNames`, and
   `parent_paths_filter` usage (skipped / false positive / true positive);
 * the three cases of `SortedFile::getOrLoadBlock` (from the block info weak
   pointer, from the block cache, loaded a group from disk); blocks and
   uncompressed bytes loaded by `loadBlockGroup`.

Also add the `KeeperLSMTParentPathsFilterSize` asynchronous metric: total size
of `parent_paths_filter` bloom filters across all files.

Co-Authored-By: Claude Fable 5 <[email protected]>
@al13n321
al13n321 marked this pull request as ready for review July 20, 2026 22:57
@alexey-milovidov alexey-milovidov self-assigned this Jul 29, 2026
@alexey-milovidov
alexey-milovidov merged commit d6ff4b2 into kpreint Jul 29, 2026
2 checks passed
@alexey-milovidov
alexey-milovidov deleted the kint branch July 29, 2026 00:06
@alexey-milovidov

Copy link
Copy Markdown
Member

@al13n321, I couldn't find the PR for kpreinit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-keeper ClickHouse Keeper (Raft-based coordination layer; ZooKeeper replacement) and ZooKeeper client lib...

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants