Browse Source

use 1000 as merge factor

pull/1397/head
Chris Lu 4 years ago
parent
commit
6debe3c3ec
  1. 2
      other/java/client/src/main/java/seaweedfs/client/FileChunkManifest.java

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

@ -12,7 +12,7 @@ public class FileChunkManifest {
private static final Logger LOG = LoggerFactory.getLogger(FileChunkManifest.class); private static final Logger LOG = LoggerFactory.getLogger(FileChunkManifest.class);
private static final int mergeFactor = 3;
private static final int mergeFactor = 1000;
public static boolean hasChunkManifest(List<FilerProto.FileChunk> chunks) { public static boolean hasChunkManifest(List<FilerProto.FileChunk> chunks) {
for (FilerProto.FileChunk chunk : chunks) { for (FilerProto.FileChunk chunk : chunks) {

Loading…
Cancel
Save