gitkk/server
zhenyi 8f472a0443 feat(cluster): implement distributed clustering with etcd coordination
- Integrate etcd-client for distributed coordination and leader election
- Add remote client macros with proper formatting for all services
- Implement RequestMetrics for tracking RPC performance and errors
- Add rate limiting mechanism across all service endpoints
- Create ElectionRequest and ElectionResult message types for leader election
- Add role management with primary/replica switching capabilities
- Implement health checker with automatic failover detection
- Add repository count metrics for cluster monitoring
- Update Cargo.toml with etcd-client and dashmap dependencies
- Modify RepoEntry to include read_only flag for replica handling
- Implement should_accept_election logic to prevent duplicate elections
- Add RoleChangedEvent handling for cluster role updates
2026-06-08 14:31:29 +08:00
..
archive.rs feat(cluster): implement distributed clustering with etcd coordination 2026-06-08 14:31:29 +08:00
blame.rs feat(cluster): implement distributed clustering with etcd coordination 2026-06-08 14:31:29 +08:00
branch.rs feat(cluster): implement distributed clustering with etcd coordination 2026-06-08 14:31:29 +08:00
cache.rs refactor(server): replace custom remote clients with macro-based implementation 2026-06-08 09:43:57 +08:00
commit.rs feat(cluster): implement distributed clustering with etcd coordination 2026-06-08 14:31:29 +08:00
diff.rs feat(cluster): implement distributed clustering with etcd coordination 2026-06-08 14:31:29 +08:00
merge.rs feat(cluster): implement distributed clustering with etcd coordination 2026-06-08 14:31:29 +08:00
mod.rs feat(cluster): implement distributed clustering with etcd coordination 2026-06-08 14:31:29 +08:00
pack.rs feat(cluster): implement distributed clustering with etcd coordination 2026-06-08 14:31:29 +08:00
repository_maint.rs refactor(server): replace custom remote clients with macro-based implementation 2026-06-08 09:43:57 +08:00
repository.rs feat(cluster): implement distributed clustering with etcd coordination 2026-06-08 14:31:29 +08:00
tag.rs feat(cluster): implement distributed clustering with etcd coordination 2026-06-08 14:31:29 +08:00
tree.rs feat(cluster): implement distributed clustering with etcd coordination 2026-06-08 14:31:29 +08:00