Skip to content

keeper support tfs#1064

Open
LanternLee wants to merge 60 commits into
masterfrom
feature/keeper-tfs
Open

keeper support tfs#1064
LanternLee wants to merge 60 commits into
masterfrom
feature/keeper-tfs

Conversation

@LanternLee

Copy link
Copy Markdown
Collaborator

No description provided.

@LanternLee LanternLee force-pushed the feature/keeper-tfs branch from b226658 to feef37a Compare July 7, 2026 09:10
sl_li and others added 29 commits July 10, 2026 09:36
…se 1

Introduce LOGICAL_BU tables, cluster/KC logical_bu_id and redis keeper_priority columns, DAL codegen with H2-compatible demo SQL for unit tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
…ool for Phase 2

Add LogicalBu CRUD REST, keeper container pool resolution with org degrade,
validateKeepers rules, meta build (tfsFsId/priority), cluster auto-bind BU,
KC logicalBuId validation, and related config keys and unit tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
…ia for Phase 3

Add logical BU management UI, cluster/KC/shard page updates for media and
priority, cluster_list logical BU column with filter, and supporting API/DAL
changes plus AppTest seed data and unit tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
…ssignment for Phase 4

Add keeper.elect.strategy config, StrategyAwareKeeperActiveElectAlgorithm,
KeeperRoleAssigner, and re-elect on priority/strategy changes with unit tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
…or Phase 5

Add TfsKeeperStateChangeJob with PREPARE/ForceCloseDir lease release before
promoting new active keeper; track previousActiveKeeper for conditional PREPARE;
route TFS shards via Mock TFS gateway and QConfig dir_path template.

Co-authored-by: Cursor <cursoragent@cursor.com>
Wire a single AsyncLocalFileSystem through DefaultRedisKeeperServer into
ReplicationStoreManager and all Store constructors as a required parameter;
only the keeper creates and shuts down the FS instance.

Co-authored-by: Cursor <cursoragent@cursor.com>
…or Phase C0

Drop meta.json read/write, v1/v2 timestamp arbitration, and ClusterAndShardCompatible rename migration so async P1+ only targets meta.v2.json.

Co-authored-by: Cursor <cursoragent@cursor.com>
Wire meta.v2.json and store_manager_meta.properties through AsyncFileSystem
with atomicReplace; add AsyncFileSystemHelper for 1s await/readFully.

Co-authored-by: Cursor <cursoragent@cursor.com>
Wire DefaultRdbStore read/write through AsyncFile with chunked writes,
transferTo-based streaming via AsyncRdbReferenceFileRegion, and EofType.fileOk(long).
ReplicationStore recover and mkdir paths use AsyncFileSystem.

Co-authored-by: Cursor <cursoragent@cursor.com>
sl_li and others added 20 commits July 10, 2026 09:38
Manage TailCache-wrapped TFS FS and IO pool in ContainerResourceManager,
inject into DefaultRedisKeeperServer, and shutdown once on container dispose.

Co-authored-by: Cursor <cursoragent@cursor.com>
Add AsyncFileSystemHelper wrappers for retain/release pairing and update
Meta, Cmd, RDB, and manager meta paths to use ByteBuf read/write.

Co-authored-by: Cursor <cursoragent@cursor.com>
@LanternLee LanternLee force-pushed the feature/keeper-tfs branch from e44cba9 to b299fcc Compare July 10, 2026 01:44
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