8c95eb230d0e6d07fcf3aff9634d3607d16766e0
- Add is_write parameter to remote clients for read/write routing distinction - Introduce RepoEntry struct with role tracking (primary/replica) for repositories - Replace HashSet with HashMap for repository storage with role metadata - Add ROLE_PRIMARY and ROLE_REPLICA constants for node role identification - Implement FindPrimary and FindReplica RPC methods for role-based routing - Add RefUpdateEvent message type for propagating reference updates - Create sync module with BundleApplicator for handling replica synchronization - Implement notify_ref_update calls after branch/tag/commit operations - Add broadcast_ref_update function to propagate events across cluster nodes - Modify route_repository to prioritize primary for writes and replicas for reads - Update actor message handling to support role-based repository discovery - Implement sync_from_primary function using pack protocol for incremental updates
gitks
A Git bare repository operation library based on gRPC.
License
PolyForm Noncommercial 1.0.0 — Free for noncommercial use. For commercial licenses, please contact us.
Description
Languages
Rust
99.2%
Shell
0.5%
Go Template
0.2%