Chris Lu
|
400de380f4
volume server: support tcp direct put/get/delete
|
3 years ago |
Chris Lu
|
7635f6b9fa
disk file avoid file.Stat()
|
3 years ago |
bingoohuang
|
7256902fb0
fix typo offset.ToAcutalOffset to offset.ToActualOffset
|
3 years ago |
Chris Lu
|
f3bb645018
file open error
|
4 years ago |
Chris Lu
|
dc0bc48257
return file open error
|
4 years ago |
Chris Lu
|
6d30b21b10
volume: add "-dir.idx" option for separate index storage
|
4 years ago |
Chris Lu
|
f2723c1bc8
do not idx file format
|
4 years ago |
Chris Lu
|
c9ab8d05fa
fixes for reading deleted fid
|
4 years ago |
Chris Lu
|
6ccd7f0a4d
refactoring
|
4 years ago |
Chris Lu
|
ee11d98650
refactoring
|
4 years ago |
Chris Lu
|
6a92f0bc7a
refactoring to typed Size
|
4 years ago |
Chris Lu
|
6190fd665d
printout error
|
4 years ago |
Chris Lu
|
c8ca234773
refactoring
|
4 years ago |
Chris Lu
|
df9d538044
rename function
|
4 years ago |
Chris Lu
|
cbfe31a9a8
idx file sync before compaction
|
4 years ago |
Chris Lu
|
81797a059a
volume: sync volume file right before compaction
|
4 years ago |
Chris Lu
|
d439d83772
volume: follow compactionBytePerSecond
|
4 years ago |
Chris Lu
|
d3e1ef64b3
ensure error checking on windows
|
4 years ago |
Chris Lu
|
88a110e67e
release file handle
|
4 years ago |
Chris Lu
|
43e6261579
volume: fix memory leak
|
4 years ago |
Chris Lu
|
f87f2045b3
delete old file first on windows
|
4 years ago |
Chris Lu
|
757c7d67ad
avoid nil DataBackend
|
4 years ago |
Chris Lu
|
430b5a49e2
unused code
|
4 years ago |
Chris Lu
|
d335f04de6
support env variables to overwrite toml file
|
4 years ago |
Chris Lu
|
c8b2dac6c1
volume: avoid sharing volume dat file handle
|
4 years ago |
Chris Lu
|
acf7ca7b93
volume: fix compaction
|
4 years ago |
Chris Lu
|
efd2f50ede
compaction changed to .idx based deletion
|
4 years ago |
Chris Lu
|
abffe857a1
change btree map to in memory level db
|
4 years ago |
Chris Lu
|
72a561ab7c
refactoring
|
4 years ago |
Chris Lu
|
09ca936c78
shell: add ec.decode command
|
4 years ago |
Chris Lu
|
f60154f330
master load backend storage config from master.toml
|
5 years ago |
Chris Lu
|
85f8649320
refactor memory mapped file into backend storage
|
5 years ago |
Chris Lu
|
db30a46050
skip memory mapped file when compacting
|
5 years ago |
Chris Lu
|
5b950c735e
Merge branch 'master' into refactoring_dat_backend
|
5 years ago |
Chris Lu
|
57e441d67b
fix compaction logic
|
5 years ago |
Chris Lu
|
4b5ba4927f
adjust NewDiskFile() paramaters
|
5 years ago |
Chris Lu
|
19b6a16003
changed from os.file to backend.DataStorageBackend
|
5 years ago |
Chris Lu
|
fc412e428b
refactor ScanVolumeFileFrom()
|
5 years ago |
Chris Lu
|
faec9076a4
adjust parameter names
|
5 years ago |
j.laycock
|
6fc6322c90
Change joeslay paths to chrislusf paths
|
5 years ago |
j.laycock
|
5885ab67b3
rename volume property MemoryMap to MemoryMapMaxSizeMB
|
5 years ago |
Tom Maxwell
|
4a878c0006
Changed the InMemory bool to a uint32 so that it can be used to alter how much space to reserve
|
5 years ago |
j.laycock
|
1f01eb78e8
Rename mem_map to mMap, remove some in_memory variables being passed around, added MemoryMapped member to volume struct
|
5 years ago |
Tom Maxwell
|
d637d86d22
Changes to try and pass the URL parameters through - in memory flag not working still
|
5 years ago |
j.laycock
|
9a459d984b
Do not vacuum memory mapped files
|
5 years ago |
j.laycock
|
595a1beff0
Swap imports to use joeslay
|
5 years ago |
Chris Lu
|
d829df4f59
volume: protect against nil needle map
|
5 years ago |
Chris Lu
|
e40634e6b4
volume: fail the volume deletion if compaction is in progress
|
5 years ago |
Chris Lu
|
f3b99cbfe5
fix wrong alignment fix
|
5 years ago |
Chris Lu
|
644c5c27b4
refactoring
|
5 years ago |