diff options
| author | hilimd <68371223+hilimd@users.noreply.github.com> | 2020-08-10 12:59:55 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-10 12:59:55 +0800 |
| commit | 6a93e26fc32ce35901c96371628fd0916b639026 (patch) | |
| tree | 00b2251054b30579b64c8f4c75c93329ee72896a /other/java/client/src | |
| parent | 6769d07604fff5c8b9fbac2a93cf232b4c159fb2 (diff) | |
| parent | e74dc4e4bca245828df180f516973e5d6ac2e1df (diff) | |
| download | seaweedfs-6a93e26fc32ce35901c96371628fd0916b639026.tar.xz seaweedfs-6a93e26fc32ce35901c96371628fd0916b639026.zip | |
Merge pull request #11 from chrislusf/master
sync
Diffstat (limited to 'other/java/client/src')
| -rw-r--r-- | other/java/client/src/main/java/seaweedfs/client/FileChunkManifest.java | 3 |
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); } |
