From 7c1f46ba3172b4ef3b79904be324d63a7a8c2043 Mon Sep 17 00:00:00 2001 From: Menuka Warushavithana Date: Wed, 29 Sep 2021 16:50:21 -0600 Subject: [PATCH] feat(chunk-server): disable reading chunks from disk on start up --- src/main/java/cs555/hw1/node/chunkServer/ChunkServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cs555/hw1/node/chunkServer/ChunkServer.java b/src/main/java/cs555/hw1/node/chunkServer/ChunkServer.java index 6d7ebf6..de42196 100644 --- a/src/main/java/cs555/hw1/node/chunkServer/ChunkServer.java +++ b/src/main/java/cs555/hw1/node/chunkServer/ChunkServer.java @@ -84,7 +84,7 @@ public void initialize() { tcpServerThread.start(); commandParser.start(); - initFilesFromDisk(); + // initFilesFromDisk(); Timer minorTimer = new Timer(); minorTimer.schedule(new MinorHeartbeat(), 0, Constants.ChunkServer.MINOR_HEARTBEAT_INTERVAL);