From df9a72b87f574d21e0556c08c8f07d624ff4fdf9 Mon Sep 17 00:00:00 2001 From: chrislu Date: Sun, 5 Dec 2021 17:24:13 -0800 Subject: [PATCH] fix compilation --- .../client/src/main/java/seaweedfs/client/SeaweedWrite.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/other/java/client/src/main/java/seaweedfs/client/SeaweedWrite.java b/other/java/client/src/main/java/seaweedfs/client/SeaweedWrite.java index 81c9ccb6c..1ee745ed0 100644 --- a/other/java/client/src/main/java/seaweedfs/client/SeaweedWrite.java +++ b/other/java/client/src/main/java/seaweedfs/client/SeaweedWrite.java @@ -29,6 +29,8 @@ public class SeaweedWrite { final byte[] bytes, final long bytesOffset, final long bytesLength, final String path) throws IOException { + + IOException lastException = null; for (long waitTime = 1000L; waitTime < 10 * 1000; waitTime += waitTime / 2) { try { FilerProto.FileChunk.Builder chunkBuilder = writeChunk(