feat: Refactor mesh server to use Arc<Node>, introduce JoinAcceptance for mesh joins, and enhance store listing with prefix filtering and deleted entry inclusion.

This commit is contained in:
2025-12-23 00:31:54 +01:00
parent 76810f8d8e
commit 9d4495b3d7
13 changed files with 341 additions and 206 deletions
+5 -3
View File
@@ -111,12 +111,14 @@ message JoinResponse {
// 7. Sync Protocol Messages (bidirectional sync after join)
message SyncRequest {
SyncState state = 1; // Sender's sync state (for incremental sync)
bool full_sync = 2; // If true, request all entries (for join)
bytes store_id = 1; // Store UUID to sync (16 bytes)
SyncState state = 2; // Sender's sync state (for incremental sync)
bool full_sync = 3; // If true, request all entries (for join)
}
message SyncResponse {
SyncState state = 1; // Responder's sync state
bytes store_id = 1; // Store UUID being synced (16 bytes)
SyncState state = 2; // Responder's sync state
}
message SyncEntry {