forked from TrueCloudLab/frostfs-node
[#9999] metabase: Fix db engine to pebble in select.go
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
e5b9ad6465
commit
c73bf08b72
3 changed files with 636 additions and 213 deletions
|
@ -539,4 +539,10 @@ const (
|
||||||
PolicerCouldNotGetChunk = "could not get EC chunk"
|
PolicerCouldNotGetChunk = "could not get EC chunk"
|
||||||
PolicerCouldNotGetChunks = "could not get EC chunks"
|
PolicerCouldNotGetChunks = "could not get EC chunks"
|
||||||
AuditEventLogRecord = "audit event log record"
|
AuditEventLogRecord = "audit event log record"
|
||||||
|
MetabaseCouldNotIterateOverThePrefix = "could not iterate over the prefix"
|
||||||
|
FailedToParseAddressFromKey = "failed to parse address from key"
|
||||||
|
FailedToParseOwnerFromKey = "failed to parse owner from key"
|
||||||
|
FailedToParsePayloadHashFromKey = "failed to parse payload hash from key"
|
||||||
|
FailedToParseSplitIDFromKey = "failed to parse splitID from key"
|
||||||
|
FailedToParseAttributeValueFromKey = "failed to parse attribute value from key"
|
||||||
)
|
)
|
||||||
|
|
|
@ -20,11 +20,6 @@ import (
|
||||||
"go.uber.org/zap"
|
"go.uber.org/zap"
|
||||||
)
|
)
|
||||||
|
|
||||||
type matcher struct {
|
|
||||||
matchSlow func(string, []byte, string) bool
|
|
||||||
matchBucket func(pebble.Reader, string, string, func([]byte, []byte) error) error
|
|
||||||
}
|
|
||||||
|
|
||||||
// EpochState is an interface that provides access to the
|
// EpochState is an interface that provides access to the
|
||||||
// current epoch number.
|
// current epoch number.
|
||||||
type EpochState interface {
|
type EpochState interface {
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue