mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-22 03:17:24 +08:00
HCFS: bug fix for listEntries
fix https://github.com/chrislusf/seaweedfs/issues/797
This commit is contained in:
@@ -67,6 +67,14 @@
|
|||||||
</extension>
|
</extension>
|
||||||
</extensions>
|
</extensions>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<source>7</source>
|
||||||
|
<target>7</target>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.xolstice.maven.plugins</groupId>
|
<groupId>org.xolstice.maven.plugins</groupId>
|
||||||
<artifactId>protobuf-maven-plugin</artifactId>
|
<artifactId>protobuf-maven-plugin</artifactId>
|
||||||
|
@@ -150,6 +150,7 @@ public class FilerClient {
|
|||||||
limit -= nSize;
|
limit -= nSize;
|
||||||
lastFileName = t.get(nSize - 1).getName();
|
lastFileName = t.get(nSize - 1).getName();
|
||||||
}
|
}
|
||||||
|
results.addAll(t);
|
||||||
if (t.size() < 1024) {
|
if (t.size() < 1024) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user