forked from TrueCloudLab/frostfs-node
[#948] metrics: Set actual value for shard_id
after restart
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
This commit is contained in:
parent
6a5769d1da
commit
0bd030507e
8 changed files with 27 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue