mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-29 08:20:42 +01:00
refactor
This commit is contained in:
1 parent
9d3be33e5c
commit
ec5a305624
2 files changed
+4
-4
No files matched your search
@@ -5,6 +5,10 @@ import (
|
||||
"sync"
|
||||
)
|
||||
|
||||
const (
|
||||
batch = 100000
|
||||
)
|
||||
|
||||
type CompactSection struct {
|
||||
sync.RWMutex
|
||||
values []NeedleValue
|
||||
|
||||
@@ -5,10 +5,6 @@ import (
|
||||
"github.com/google/btree"
|
||||
)
|
||||
|
||||
const (
|
||||
batch = 100000
|
||||
)
|
||||
|
||||
type NeedleValue struct {
|
||||
Key NeedleId
|
||||
Offset Offset `comment:"Volume offset"` //since aligned to 8 bytes, range is 4G*8=32G
|
||||
|
||||
Reference in new issue
Block a user