skip the index that for kv usage.
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user