Update DESIGN.txt and code accordingly

This commit is contained in:
2025-11-13 17:27:00 +01:00
parent facd220c59
commit cdce267768
7 changed files with 278 additions and 420 deletions
+6 -9
View File
@@ -23,17 +23,14 @@ typedef struct {
int num_addrs;
Address addrs[MAX_SERVER_ADDRS];
// Chunks held by the chunk server during
// the last update
HashList old_list;
// List of chunks that are known to be held by CS
HashList ms_old_list;
// Chunks added to the chunk server since
// the last update
HashList add_list;
// List of chunks that should be held by CS
HashList ms_add_list;
// Chunks removed from the chunk server
// since the last update
HashList rem_list;
// List of chunks that may be held by CS but should removed from it
HashList ms_rem_list;
// Time when last STATE_UPDATE was sent
Time last_sync_time;