Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

HCFS: bug fix for listEntries

Chris Lu2c724470784e
diff --git a/other/java/client/pom.xml b/other/java/client/pom.xml
index f8d98ea377..40e6a56bbe 100644
--- a/other/java/client/pom.xml
+++ b/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>
diff --git a/other/java/client/src/main/java/seaweedfs/client/FilerClient.java b/other/java/client/src/main/java/seaweedfs/client/FilerClient.java
index 3786e069ce..63d0d83205 100644
--- a/other/java/client/src/main/java/seaweedfs/client/FilerClient.java
+++ b/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;
}