binbinshi
b7de4a967e
fix: compact_map get error mismatching cokie ( #3748 )
* fix: compact_map get error
* fix: CompactSection delete lock and move test to compact_map
Co-authored-by: shibinbin <shibinbin@megvii.com>
2 years ago
chrislu
21c0587900
go fmt
2 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2 years ago
chrislu
625fd16a2e
reduce upfront memory usage for low density volume
3 years ago
Chris Lu
24e11d1e90
look back when adding to sorted values
look back when adding to sorted values, before adding it to overflow
4 years ago
Chris Lu
fc8dd58aea
volume: large_volume version has bug when using in memory index
fix https://github.com/chrislusf/seaweedfs/issues/2162
4 years ago
Chris Lu
99ecf63276
go fmt
4 years ago
Chris Lu
fe01191b5b
support read option readDeleted=true
4 years ago
Chris Lu
6ccd7f0a4d
refactoring
4 years ago
Chris Lu
6a92f0bc7a
refactoring to typed Size
Go is amazing with refactoring!
4 years ago
j.laycock
6fc6322c90
Change joeslay paths to chrislusf paths
5 years ago
j.laycock
595a1beff0
Swap imports to use joeslay
5 years ago
Chris Lu
ec75b2d761
volume: fix bug with 8000GB version if using in memory index
fix https://github.com/chrislusf/seaweedfs/issues/994
6 years ago
Chris Lu
3f9ecee40f
working with reading remote intervals
6 years ago
Chris Lu
87f63b9c08
generate ec01~ec14, generate ecx file with sorted needle values
6 years ago
Chris Lu
e5506152c0
refactoring
6 years ago
Chris Lu
b142f9f1d5
go fmt
6 years ago
Chris Lu
7a4b234ea1
divide offset into higher and lower sections
6 years ago
Chris Lu
5668ed798d
memory needle map mark size to be TombstoneFileSize
fix https://github.com/chrislusf/seaweedfs/issues/850
6 years ago
Chris Lu
141d302492
fix binarySearchCompactSection
6 years ago
Chris Lu
36d13355bb
compact map fix bug when iterating
6 years ago
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