Browse Source

HCFS: bug fix for listEntries

fix https://github.com/chrislusf/seaweedfs/issues/797
pull/800/head
Chris Lu 6 years ago
parent
commit
2c72447078
  1. 8
      other/java/client/pom.xml
  2. 1
      other/java/client/src/main/java/seaweedfs/client/FilerClient.java

8
other/java/client/pom.xml

@ -67,6 +67,14 @@
</extension>
</extensions>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>7</source>
<target>7</target>
</configuration>
</plugin>
<plugin>
<groupId>org.xolstice.maven.plugins</groupId>
<artifactId>protobuf-maven-plugin</artifactId>

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

@ -150,6 +150,7 @@ public class FilerClient {
limit -= nSize;
lastFileName = t.get(nSize - 1).getName();
}
results.addAll(t);
if (t.size() < 1024) {
break;
}

Loading…
Cancel
Save