Go to file
zhenyi 9a0c26e5f6 refactor(actor): implement Raft consensus algorithm for cluster leader election
- Add voting mechanism with term tracking and vote persistence
- Implement election triggering logic with majority vote counting
- Add primary/replica role transition handling with state management
- Integrate health check failure detection for automatic elections
- Refactor actor messaging system for distributed coordination
- Update repository registration to query cluster for existing primary
- Add broadcast mechanism for role change notifications
- Implement proper term comparison and duplicate request filtering
- Upgrade dependency versions including tokio-util for async utilities
- Optimize code formatting and line wrapping for improved readability
- Remove redundant blank lines and improve code structure consistency
- Enhance error logging and trace information for debugging purposes
2026-06-10 12:35:10 +08:00
.cargo refactor(docker): optimize Docker build process and update configurations 2026-06-08 18:52:22 +08:00
actor refactor(actor): implement Raft consensus algorithm for cluster leader election 2026-06-10 12:35:10 +08:00
archive refactor(server): replace custom remote clients with macro-based implementation 2026-06-08 09:43:57 +08:00
blame refactor(server): replace custom remote clients with macro-based implementation 2026-06-08 09:43:57 +08:00
blob refactor(server): replace custom remote clients with macro-based implementation 2026-06-08 09:43:57 +08:00
branch refactor(server): replace custom remote clients with macro-based implementation 2026-06-08 09:43:57 +08:00
charts feat(charts): add Helm chart for gitks Git bare repository service 2026-06-08 21:21:15 +08:00
cluster feat(api): extend commit and diff services with new functionality 2026-06-08 15:37:08 +08:00
commit refactor(actor): implement Raft consensus algorithm for cluster leader election 2026-06-10 12:35:10 +08:00
diff refactor(actor): implement Raft consensus algorithm for cluster leader election 2026-06-10 12:35:10 +08:00
etc feat(system): add systemd service and installation script 2026-06-08 21:27:54 +08:00
hooks refactor(actor): implement Raft consensus algorithm for cluster leader election 2026-06-10 12:35:10 +08:00
merge refactor(server): replace custom remote clients with macro-based implementation 2026-06-08 09:43:57 +08:00
pack refactor(actor): implement Raft consensus algorithm for cluster leader election 2026-06-10 12:35:10 +08:00
pb feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
proto feat(pack): add raw advertise refs and stateless protocol support 2026-06-08 21:46:31 +08:00
refs refactor(actor): implement Raft consensus algorithm for cluster leader election 2026-06-10 12:35:10 +08:00
remote refactor(actor): implement Raft consensus algorithm for cluster leader election 2026-06-10 12:35:10 +08:00
repository refactor(actor): implement Raft consensus algorithm for cluster leader election 2026-06-10 12:35:10 +08:00
server refactor(actor): implement Raft consensus algorithm for cluster leader election 2026-06-10 12:35:10 +08:00
snapshot feat(cluster): implement distributed clustering with etcd coordination 2026-06-08 14:31:29 +08:00
tag refactor(server): replace custom remote clients with macro-based implementation 2026-06-08 09:43:57 +08:00
tests refactor(actor): implement Raft consensus algorithm for cluster leader election 2026-06-10 12:35:10 +08:00
tree refactor(server): replace custom remote clients with macro-based implementation 2026-06-08 09:43:57 +08:00
.dockerignore refactor(docker): optimize Docker build process and update configurations 2026-06-08 18:52:22 +08:00
.env refactor(docker): optimize Docker build process and update configurations 2026-06-08 18:52:22 +08:00
.gitignore refactor(docker): optimize Docker build process and update configurations 2026-06-08 18:52:22 +08:00
bare.rs refactor(server): replace custom remote clients with macro-based implementation 2026-06-08 09:43:57 +08:00
build.rs chore(deps): update dependencies and migrate to tonic-prost 2026-06-04 18:07:17 +08:00
Cargo.lock refactor(actor): implement Raft consensus algorithm for cluster leader election 2026-06-10 12:35:10 +08:00
Cargo.toml refactor(actor): implement Raft consensus algorithm for cluster leader election 2026-06-10 12:35:10 +08:00
CLAUDE.md feat(api): extend commit and diff services with new functionality 2026-06-08 15:37:08 +08:00
disk_cache.rs refactor(actor): implement Raft consensus algorithm for cluster leader election 2026-06-10 12:35:10 +08:00
docker-compose.yaml refactor(docker): optimize Docker build process and update configurations 2026-06-08 18:52:22 +08:00
Dockerfile refactor(docker): optimize Docker build process and update configurations 2026-06-08 18:52:22 +08:00
Dockerfile.fast refactor(docker): optimize Docker build process and update configurations 2026-06-08 18:52:22 +08:00
error.rs feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
init.rs feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
lib.rs refactor(actor): implement Raft consensus algorithm for cluster leader election 2026-06-10 12:35:10 +08:00
LICENSE feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
macros.rs refactor(server): replace custom remote clients with macro-based implementation 2026-06-08 09:43:57 +08:00
main.rs feat(api): extend commit and diff services with new functionality 2026-06-08 15:37:08 +08:00
metrics.rs refactor(actor): implement Raft consensus algorithm for cluster leader election 2026-06-10 12:35:10 +08:00
oid.rs feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
pack_cache.rs refactor(actor): implement Raft consensus algorithm for cluster leader election 2026-06-10 12:35:10 +08:00
paginate.rs feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
rate_limit.rs refactor(actor): implement Raft consensus algorithm for cluster leader election 2026-06-10 12:35:10 +08:00
README.md feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
sanitize.rs refactor(server): replace custom remote clients with macro-based implementation 2026-06-08 09:43:57 +08:00

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.