Skip to content

[core] Add bulk load for bootstrapping in clustering compact#7497

Open
JingsongLi wants to merge 2 commits intoapache:masterfrom
JingsongLi:bootstrap_cluster
Open

[core] Add bulk load for bootstrapping in clustering compact#7497
JingsongLi wants to merge 2 commits intoapache:masterfrom
JingsongLi:bootstrap_cluster

Conversation

@JingsongLi
Copy link
Contributor

@JingsongLi JingsongLi commented Mar 21, 2026

Purpose

Adds a bulkLoad() method to SimpleLsmKvDb that writes globally sorted entries directly into SST files at the deepest level (L3), bypassing MemTable/flush/compaction. This is used by ClusteringKeyIndex.bootstrap() to efficiently populate the key index during restore.

Tests

API and Format

Documentation

Generative AI tooling

@JingsongLi JingsongLi changed the title [core] Add bulk load for bootstraping in ClusteringCompactManager [core] Add bulk load for bootstrapping in ClusteringCompactManager Mar 21, 2026
@JingsongLi JingsongLi changed the title [core] Add bulk load for bootstrapping in ClusteringCompactManager [core] Add bulk load for bootstrapping in clustering compact Mar 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant