mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-11-24 16:53:14 +08:00
refactor data integrity checking code
This commit is contained in:
@@ -17,6 +17,10 @@ const (
|
||||
NeedleMapBoltDb
|
||||
)
|
||||
|
||||
const (
|
||||
NeedleIndexSize = 16
|
||||
)
|
||||
|
||||
type NeedleMapper interface {
|
||||
Put(key uint64, offset uint32, size uint32) error
|
||||
Get(key uint64) (element *NeedleValue, ok bool)
|
||||
|
||||
Reference in New Issue
Block a user