gitkk/tests
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
..
common refactor(server): replace custom remote clients with macro-based implementation 2026-06-08 09:43:57 +08:00
archive_test.rs refactor(server): replace custom remote clients with macro-based implementation 2026-06-08 09:43:57 +08:00
bare_test.rs refactor(server): replace custom remote clients with macro-based implementation 2026-06-08 09:43:57 +08:00
blame_test.rs refactor(server): replace custom remote clients with macro-based implementation 2026-06-08 09:43:57 +08:00
branch_test.rs feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
commit_test.rs feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
diff_test.rs feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
disk_cache_test.rs feat(cluster): implement distributed clustering with etcd coordination 2026-06-08 14:31:29 +08:00
error_test.rs test(bare): add comprehensive tests for GitBare functionality 2026-06-04 15:33:33 +08:00
hooks_test.rs feat(cluster): implement distributed clustering with etcd coordination 2026-06-08 14:31:29 +08:00
integration.rs feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
macro_test.rs refactor(server): replace custom remote clients with macro-based implementation 2026-06-08 09:43:57 +08:00
merge_test.rs feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
oid_test.rs test(bare): add comprehensive tests for GitBare functionality 2026-06-04 15:33:33 +08:00
refs_test.rs test(bare): add comprehensive tests for GitBare functionality 2026-06-04 15:33:33 +08:00
repository_test.rs feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
sanitize_test.rs refactor(server): replace custom remote clients with macro-based implementation 2026-06-08 09:43:57 +08:00
snapshot_test.rs feat(cluster): implement distributed clustering with etcd coordination 2026-06-08 14:31:29 +08:00
tag_test.rs feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
tree_test.rs feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00