From 3d3bab2447c5524e2db67b4e4b4f077d9b387f5a Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sat, 28 Mar 2020 23:43:24 -0700 Subject: [PATCH] add notes --- .../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 06c1bdd9f..5bf24ef68 100644 --- a/other/java/client/src/main/java/seaweedfs/client/SeaweedWrite.java +++ b/other/java/client/src/main/java/seaweedfs/client/SeaweedWrite.java @@ -45,6 +45,8 @@ public class SeaweedWrite { String etag = multipartUpload(targetUrl, auth, bytes, bytesOffset, bytesLength, cipherKey); + // TODO: cache fileId ~ bytes here + entry.addChunks(FilerProto.FileChunk.newBuilder() .setFileId(fileId) .setOffset(offset)