Commit Graph

4 Commits

Author SHA1 Message Date
83163db067 chore: go fmt 2025-04-29 15:03:03 -06:00
2bc2fdafda feat: Add heartbeat support in replication
- Created a heartbeat that monitors sessions and sends heartbeats
  between nodes
- Updated the primary to include a heartbeat manager
2025-04-29 15:03:03 -06:00
0d923f3f1d feat: Replica node implementation
- Created state handlers for all replication states
- Implemented transitions based on received data
- Added a WAL entry applier with validation
- Implemented connection/reconnection management
- Implemented ACK/NACK tracking and verification
2025-04-29 15:03:03 -06:00
8b4b4e8bc2 feat: Add primary node implementation
- Created the WAL observer for the primary
- Implements session management and connection tracking
- Implemented the WAL streaming service over gRPC
- Connected WAL retrention to acknowledgements
2025-04-29 15:03:03 -06:00