This commit is contained in:
2025-11-09 19:43:24 +01:00
parent ecef79cc53
commit d13ad3ae6c
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
#include "message.h"
#include <TinyDFS.h>
#define TAG_METADATA_SERVER -1
#define TAG_METADATA_SERVER -2
#define TAG_RETRIEVE_METADATA_FOR_READ 1
#define TAG_RETRIEVE_METADATA_FOR_WRITE 2
+1 -1
View File
@@ -15,7 +15,7 @@ int main(int argc, char **argv)
// TODO: set simulation_should_stop=true on ctrl+C
startup_simulation(2);
startup_simulation(3);
// Spawn metadata server (leader)
spawn_simulated_process("--addr 127.0.0.1 --port 8080 --leader");
+2 -2
View File
@@ -5,8 +5,8 @@
#include "file_tree.h"
#include "config.h"
#define CONNECTION_TAG_CLIENT -1
#define CONNECTION_TAG_UNKNOWN -2
#define CONNECTION_TAG_CLIENT -2
#define CONNECTION_TAG_UNKNOWN -3
typedef struct {
int count;