mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
skip the index that for kv usage.
This commit is contained in:
parent
1384ff9a2f
commit
450cf07505
|
@ -191,6 +191,9 @@ func (store *ElasticStore) listRootDirectoryEntries(ctx context.Context, startFi
|
||||||
return entries, err
|
return entries, err
|
||||||
}
|
}
|
||||||
for _, index := range indexResult {
|
for _, index := range indexResult {
|
||||||
|
if index.Index == indexKV {
|
||||||
|
continue
|
||||||
|
}
|
||||||
if strings.HasPrefix(index.Index, indexPrefix) {
|
if strings.HasPrefix(index.Index, indexPrefix) {
|
||||||
if entry, err := store.FindEntry(ctx,
|
if entry, err := store.FindEntry(ctx,
|
||||||
weed_util.FullPath("/"+strings.Replace(index.Index, indexPrefix, "", 1))); err == nil {
|
weed_util.FullPath("/"+strings.Replace(index.Index, indexPrefix, "", 1))); err == nil {
|
||||||
|
|
Loading…
Reference in a new issue