Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislusf committed Jul 30, 2020
1 parent daf8c0c commit 5080bc1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ private static byte[] fetchChunk(final FilerGrpcClient filerGrpcClient, FilerPro
.getBlockingStub().lookupVolume(lookupRequest.build());
locations = lookupResponse.getLocationsMapMap().get(vid);
filerGrpcClient.vidLocations.put(vid, locations);
LOG.warn("fetchChunk vid:{} locations:{}", vid, locations);
LOG.debug("fetchChunk vid:{} locations:{}", vid, locations);
}

SeaweedRead.ChunkView chunkView = new SeaweedRead.ChunkView(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ public static byte[] doFetchFullChunkData(ChunkView chunkView, FilerProto.Locati
}
}

LOG.debug("doFetchFullChunkData fid:{} chunkData.length:{}", chunkView.fileId, data.length);

return data;

}
Expand Down

0 comments on commit 5080bc1

Please sign in to comment.