aboutsummaryrefslogtreecommitdiff
path: root/other/java/client/src/main
diff options
context:
space:
mode:
authorhilimd <68371223+hilimd@users.noreply.github.com>2020-08-10 12:59:55 +0800
committerGitHub <noreply@github.com>2020-08-10 12:59:55 +0800
commit6a93e26fc32ce35901c96371628fd0916b639026 (patch)
tree00b2251054b30579b64c8f4c75c93329ee72896a /other/java/client/src/main
parent6769d07604fff5c8b9fbac2a93cf232b4c159fb2 (diff)
parente74dc4e4bca245828df180f516973e5d6ac2e1df (diff)
downloadseaweedfs-6a93e26fc32ce35901c96371628fd0916b639026.tar.xz
seaweedfs-6a93e26fc32ce35901c96371628fd0916b639026.zip
Merge pull request #11 from chrislusf/master
sync
Diffstat (limited to 'other/java/client/src/main')
-rw-r--r--other/java/client/src/main/java/seaweedfs/client/FileChunkManifest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/other/java/client/src/main/java/seaweedfs/client/FileChunkManifest.java b/other/java/client/src/main/java/seaweedfs/client/FileChunkManifest.java
index 1248ff13f..79e8d9bc4 100644
--- a/other/java/client/src/main/java/seaweedfs/client/FileChunkManifest.java
+++ b/other/java/client/src/main/java/seaweedfs/client/FileChunkManifest.java
@@ -76,8 +76,7 @@ public class FileChunkManifest {
LOG.debug("doFetchFullChunkData:{}", chunkView);
chunkData = SeaweedRead.doFetchFullChunkData(chunkView, locations);
}
- if(chunk.getIsChunkManifest()){
- // only cache manifest chunks
+ if (chunk.getIsChunkManifest()){
LOG.debug("chunk {} size {}", chunkView.fileId, chunkData.length);
SeaweedRead.chunkCache.setChunk(chunkView.fileId, chunkData);
}