Browse Source

ensure the following logic are executed

pull/2283/head
Chris Lu 3 years ago
parent
commit
dc936921aa
  1. 4
      other/java/client/src/main/java/seaweedfs/client/FilerClient.java

4
other/java/client/src/main/java/seaweedfs/client/FilerClient.java

@ -72,10 +72,6 @@ public class FilerClient extends FilerGrpcClient {
}
return entry;
} else {
String fileId = entry.getChunks(0).getFileId();
if (fileId != null && fileId.length() != 0) {
return entry;
}
FilerProto.Entry.Builder entryBuilder = entry.toBuilder();
entryBuilder.clearChunks();
long fileSize = 0;

Loading…
Cancel
Save