frostfs-node/pkg/local_object_storage/metabase/v2/errors.go
Alex Vanin e478c0d024 [#199] Refactor metabase internal structure
Accoring to MetaBase-Plan-B storage engine specification.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-12-11 17:19:37 +03:00

14 lines
328 B
Go

package meta
import (
"errors"
)
var (
// ErrNotFound returned when object header should exist in primary index but
// it is not present there.
ErrNotFound = errors.New("address not found")
// ErrAlreadyRemoved returned when object has tombstone in graveyard.
ErrAlreadyRemoved = errors.New("object already removed")
)