keeper support tfs#1064
Open
LanternLee wants to merge 60 commits into
Open
Conversation
b226658 to
feef37a
Compare
…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>
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>
e44cba9 to
b299fcc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.