[#948] metrics: Set actual value for shard_id after restart

Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
This commit is contained in:
Anton Nikiforov 2024-02-13 09:09:47 +03:00
parent 6a5769d1da
commit 0bd030507e
8 changed files with 27 additions and 1 deletions

View file

@ -41,6 +41,7 @@ type Cache interface {
Init() error
Open(ctx context.Context, mode mode.Mode) error
Close() error
GetMetrics() Metrics
}
// MainStorage is the interface of the underlying storage of Cache implementations.