[#840] shard: Fix metabase Inhume parameters for tombstones

Replace `WithAddresses` with `WithTombstoneAddress` on `InhumePrm`.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
remotes/fyrchik/meta-pebble
Leonard Lyubich 2021-09-24 18:32:59 +03:00 committed by Alex Vanin
parent 73fb1a886c
commit c96c455125
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ func (s *Shard) refillMetabase() error {
var inhumePrm meta.InhumePrm
inhumePrm.WithAddresses(tombAddr)
inhumePrm.WithTombstoneAddress(tombAddr)
inhumePrm.WithAddresses(tombMembers...)
_, err = s.metaBase.Inhume(&inhumePrm)