Chris Lu
42cb9b76c4
reduce needle map memory usage by 25%
6 years ago
Chris Lu
5741134ca0
change overflow from map to slice
6 years ago
Chris Lu
ec5a305624
refactor
6 years ago
Chris Lu
9d3be33e5c
optimize a little bit
6 years ago
Chris Lu
7e2031b18f
go fmt
7 years ago
Chris Lu
d4d7ced922
refactoring: add type for needle id, offset
later the type size can possibly be adjusted
7 years ago
Chris Lu
82c3ccc8dd
add btree for volume index
8 years ago
Chris Lu
59022b6fe0
fix byte counter on loading index file
fix https://github.com/chrislusf/seaweedfs/issues/441
8 years ago
Chris Lu
01cbd5cb58
lock
fix https://github.com/chrislusf/seaweedfs/issues/367
8 years ago
Chris Lu
101e784577
add locking on possible concurrent map access
fix https://github.com/chrislusf/seaweedfs/issues/328
9 years ago
Chris Lu
5ce6bbf076
directory structure change to work with glide
glide has its own requirements. My previous workaround caused me some
code checkin errors. Need to fix this.
9 years ago
Chris Lu
46a89a7d61
fix concurrent write map
fix https://github.com/chrislusf/seaweedfs/issues/311
9 years ago
chrislusf
36a31771f1
Add Key String() function
10 years ago
chrislusf
85bfab612c
Add comments
10 years ago
chrislusf
b07d81fb08
follow golint suggestions
10 years ago
Chris Lu
179d36ba0e
formatting code by: goimports -w=true .
10 years ago
Chris Lu
53eacb4341
fix issue 52
keep compact section sorted when input data are not ordered
11 years ago
Chris Lu
ed154053c8
switching to temporarily use glog library
12 years ago
Chris Lu
79d11ac951
go vet
12 years ago
Chris Lu
5071f528f6
testing compilation with remove package
12 years ago
Chris Lu
ab6fb13ad7
avoid the "src" folder
12 years ago
Chris Lu
cb4e8ec16b
re-organize code directory structure
12 years ago
Chris Lu
f35b958d90
adding visit function for the NeedleMap
12 years ago
Chris Lu
bf9c4ed033
Revert "add cmd/dump - a dumper"
This reverts commit 5d2a1e8d48
.
12 years ago
Chris Lu
d1494ea786
Revert "add CdbMap"
This reverts commit bf0ccf3461
.
12 years ago
Tamás Gulácsi
bf0ccf3461
add CdbMap
12 years ago
Tamás Gulácsi
5d2a1e8d48
add cmd/dump - a dumper
Walk needed to be added to NeedleMap and CompactMap, to be able to add WalkKeys and WalkValues to volume. This is needed for iterating through all the stored needles in a volume - this was dump's purpose.
12 years ago
Chris Lu
94dbe60233
periodically compact volumes
12 years ago
Chris Lu
2fe4371899
change to a more memory efficient map, implemented by several lists of
<key,offset,size>
12 years ago