From 35f4c33de9d953cc6dcb94bd7eb910e998628525 Mon Sep 17 00:00:00 2001 From: Todd Gruben Date: Thu, 20 May 2021 11:36:05 -0500 Subject: [PATCH] first cache rebuild was ineffective --- api.go | 1 - 1 file changed, 1 deletion(-) diff --git a/api.go b/api.go index 5b8b09181..fa371155b 100644 --- a/api.go +++ b/api.go @@ -2264,7 +2264,6 @@ func (api *API) RestoreShard(ctx context.Context, indexName string, shard uint64 _ = os.Remove(tempPath) return err } - api.holder.recalculateCaches() err = db.OpenDB() if err != nil { return err