From c96c455125ed240b9dd2e466342b4aea302a8bfa Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Fri, 24 Sep 2021 18:32:59 +0300 Subject: [PATCH] [#840] shard: Fix metabase Inhume parameters for tombstones Replace `WithAddresses` with `WithTombstoneAddress` on `InhumePrm`. Signed-off-by: Leonard Lyubich --- pkg/local_object_storage/shard/control.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/local_object_storage/shard/control.go b/pkg/local_object_storage/shard/control.go index 58088c60..678f5773 100644 --- a/pkg/local_object_storage/shard/control.go +++ b/pkg/local_object_storage/shard/control.go @@ -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)