Commit Graph

9 Commits

Author SHA1 Message Date
374d0dde65
refactor: improve bootstrap API with proper interface-based design for testing
All checks were successful
Go Tests / Run Tests (1.24.2) (pull_request) Successful in 9m50s
- Convert anonymous interface dependency in BootstrapManager to the new EntryApplier interface
- Update service layer code to use interfaces instead of concrete types
- Fix tests to properly verify bootstrap behavior
- Extend test coverage with proper root cause analysis for failing tests
- Fix persistence tests in replica_registration to explicitly handle delayed persistence
2025-04-26 15:49:39 -06:00
2d1e42b4d6
feat: implement integrity validation with checksums for replication transport
- Add checksums for WAL entries and WAL entry batches
- Implement robust retry and circuit breaker patterns for reliability
- Add comprehensive tests for message processing and reliability features
- Enhance error handling and timeout management
2025-04-26 14:07:31 -06:00
61858f595e
feat: implement reliability features for replication transport
This commit adds comprehensive reliability features to the replication transport layer:

- Add retry logic with exponential backoff for all network operations
- Implement circuit breaker pattern to prevent cascading failures
- Add reconnection handling with automatic recovery
- Implement proper timeout handling for all network operations
- Add comprehensive logging for connection issues
- Improve error handling with temporary error classification
- Enhance stream processing with automatic recovery
2025-04-26 13:32:23 -06:00
5963538bc5
feat: implement replication transport layer
All checks were successful
Go Tests / Run Tests (1.24.2) (pull_request) Successful in 9m49s
This commit implements the replication transport layer as part of Phase 2 of the replication plan.
Key components include:

- Add protocol buffer definitions for replication services
- Implement WALReplicator extension for processor management
- Create replication service server implementation
- Add replication client and server transport implementations
- Implement storage snapshot interface for bootstrap operations
- Standardize package naming across replication components
2025-04-26 13:05:54 -06:00
7e226825df
fix: engine refactor bugfix fest, go fmt
All checks were successful
Go Tests / Run Tests (1.24.2) (push) Successful in 9m48s
2025-04-25 23:36:08 -06:00
a0a1c0512f
chore: formatting
All checks were successful
Go Tests / Run Tests (1.24.2) (push) Successful in 9m50s
2025-04-22 14:09:54 -06:00
fbea5da627 chore: renaming packages after move to github org 2025-04-22 11:01:33 -06:00
c46da3dfce feat: add client sdk and fix tests 2025-04-22 11:01:33 -06:00
cb8776dcc9 feat: add gRPC service 2025-04-22 11:01:33 -06:00