diff options
| author | chrislu <chris.lu@gmail.com> | 2022-02-19 10:12:51 -0800 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2022-02-19 10:12:51 -0800 |
| commit | 7bc67399e4660df55550eaa3328c1e0882c1ae21 (patch) | |
| tree | cdd3735cd8ef6646ab0ce764fe8dd6a15961ffd1 | |
| parent | 248c0c8087d5abd17838d6e9d8ff2d99b4a570c2 (diff) | |
| download | seaweedfs-7bc67399e4660df55550eaa3328c1e0882c1ae21.tar.xz seaweedfs-7bc67399e4660df55550eaa3328c1e0882c1ae21.zip | |
listing for filer stores without prefixed query: break if no more progress
| -rw-r--r-- | weed/filer/filerstore_wrapper.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/weed/filer/filerstore_wrapper.go b/weed/filer/filerstore_wrapper.go index 892e55cef..a9650f766 100644 --- a/weed/filer/filerstore_wrapper.go +++ b/weed/filer/filerstore_wrapper.go @@ -309,6 +309,8 @@ func (fsw *FilerStoreWrapper) prefixFilterEntries(ctx context.Context, dirPath u if err != nil { return } + } else { + break } } return |
