1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-07-02 23:26:42 +02:00
This commit is contained in:
Chris Lu 2018-12-09 00:12:37 -08:00
parent 9d3be33e5c
commit ec5a305624
2 changed files with 4 additions and 4 deletions

View file

@ -5,6 +5,10 @@ import (
"sync"
)
const (
batch = 100000
)
type CompactSection struct {
sync.RWMutex
values []NeedleValue

View file

@ -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