Browse Source

fix compilation

pull/1507/head
Chris Lu 4 years ago
parent
commit
53190a9972
  1. 3
      other/java/client/src/main/java/seaweedfs/client/FileChunkManifest.java

3
other/java/client/src/main/java/seaweedfs/client/FileChunkManifest.java

@ -76,8 +76,7 @@ public class FileChunkManifest {
LOG.debug("doFetchFullChunkData:{}", chunkView); LOG.debug("doFetchFullChunkData:{}", chunkView);
chunkData = SeaweedRead.doFetchFullChunkData(chunkView, locations); chunkData = SeaweedRead.doFetchFullChunkData(chunkView, locations);
} }
ifchunk.getIsChunkManifest()){
// only cache manifest chunks
if (chunk.getIsChunkManifest()){
LOG.debug("chunk {} size {}", chunkView.fileId, chunkData.length); LOG.debug("chunk {} size {}", chunkView.fileId, chunkData.length);
SeaweedRead.chunkCache.setChunk(chunkView.fileId, chunkData); SeaweedRead.chunkCache.setChunk(chunkView.fileId, chunkData);
} }

Loading…
Cancel
Save