-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
epicTo be broken down into multiple tasksTo be broken down into multiple tasks
Milestone
Description
Description:
Our current Raft implementation needs improvements. The following features need to be implemented:
- Raft Health Check Integration
- Add Raft-specific health checks to the existing health check endpoint
- Include leader election status in health checks
- Add cluster state validation in health checks
- Expose metrics about Raft cluster health
- Dynamic Peer Management
- Implement gRPC endpoints for peer management:
- AddPeer endpoint for adding new nodes to the cluster
- RemovePeer endpoint for graceful node removal
- Status endpoint to get current cluster membership
- Add validation to ensure only leader nodes can modify cluster membership
- Implement retry mechanism for failed peer additions
- Add logging and monitoring for peer management operations
- Implement gRPC endpoints for peer management:
- Scale Management
- Implement automated peer discovery during scale-up
- Add graceful shutdown procedure during scale-down
- Security Improvements
- Implement mTLS for gRPC communication between nodes
- Implement token-based authentication for cluster management operations
- Add audit logging for all cluster membership changes
Technical Considerations
- The health check should indicate if the node is part of a stable cluster
- Only the leader should be able to modify cluster membership
- Authentication should be required for all cluster management operations
- Scale operations should maintain cluster consistency
Metadata
Metadata
Assignees
Labels
epicTo be broken down into multiple tasksTo be broken down into multiple tasks
Type
Projects
Status
📋 Backlog