Chris Lu
|
737bde5ab7
refactoring, remove duplicated code
|
3 years ago |
bingoohuang
|
7256902fb0
fix typo offset.ToAcutalOffset to offset.ToActualOffset
|
3 years ago |
bingoohuang
|
94ea3bd3a5
renaming NeedleMapType to NeedleMapKind
|
3 years ago |
Chris Lu
|
d986c7196d
use append time instead of filer's own modification time
|
3 years ago |
Chris Lu
|
2c913dde04
volume: detect and drop volumes with disk IO error
|
4 years ago |
Chris Lu
|
6d30b21b10
volume: add "-dir.idx" option for separate index storage
|
4 years ago |
Chris Lu
|
c0fb4a3766
add comments
|
4 years ago |
Chris Lu
|
de86945aeb
go fmt
|
4 years ago |
Chris Lu
|
53c3aad875
volume: add a note file to avoid incomplete volume files
|
4 years ago |
Chris Lu
|
06c15ab35c
volume: add special handling for .dat larger than 32GB
|
4 years ago |
Chris Lu
|
e9d40b80b2
less verbose logs
|
4 years ago |
Chris Lu
|
bd8b9b0c2e
some changes to prepare fix after failed reads
|
4 years ago |
Chris Lu
|
103fafe00b
weed export: print out [start,stop) content range
|
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
|
ed4b43b419
adjust logs
|
4 years ago |
Chris Lu
|
fe01191b5b
support read option readDeleted=true
|
4 years ago |
Chris Lu
|
6ccd7f0a4d
refactoring
|
4 years ago |
Chris Lu
|
7e91ae592c
pass in option to read deleted entries
|
4 years ago |
Chris Lu
|
ee11d98650
refactoring
|
4 years ago |
Chris Lu
|
6a92f0bc7a
refactoring to typed Size
|
4 years ago |
Chris Lu
|
bdbe5ddbe9
volume server: add a fix for dead lock
|
4 years ago |
zhangsong
|
3703c7e176
write request keep compatible with before
|
4 years ago |
zhangsong
|
f9e8702bb4
use async write to persistent file to disk - part1
|
4 years ago |
Chris Lu
|
e4af63a721
volume server: accept fsync=true in write requests
|
4 years ago |
Chris Lu
|
b6e6ca8595
adjust logs
|
4 years ago |
Chris Lu
|
c06f7eb48a
load volume info from .vif file, use superblock as a backup
|
4 years ago |
Chris Lu
|
e8b357fd53
rename from .tier to .vif
|
4 years ago |
Chris Lu
|
35393b4a02
cleanly destroy remote files
|
4 years ago |
Chris Lu
|
f42b5bd0f5
rename .sdb to .sdx
|
4 years ago |
Chris Lu
|
09ca936c78
shell: add ec.decode command
|
4 years ago |
Chris Lu
|
deb03ecfa3
remove duplicated checking
|
4 years ago |
Chris Lu
|
ef3ae3cd41
clean up sorted index file
|
4 years ago |
Chris Lu
|
10bd3c6b4b
refactoring
|
5 years ago |
Chris Lu
|
f38f90b7ea
cleanly remove .tier volume file
|
5 years ago |
Chris Lu
|
6827cabfbb
volume: dataFileAccessLock change to RW Lock
|
5 years ago |
Chris Lu
|
f60154f330
master load backend storage config from master.toml
|
5 years ago |
chenwanli
|
295f3beed5
rm ldb and bdb directory
|
5 years ago |
Chris Lu
|
85f8649320
refactor memory mapped file into backend storage
|
5 years ago |
Chris Lu
|
19b6a16003
changed from os.file to backend.DataStorageBackend
|
5 years ago |
Chris Lu
|
46ed2ca902
refactoring
|
5 years ago |
Chris Lu
|
3c865ee39b
fix missing needle header read
|
5 years ago |
Chris Lu
|
fc412e428b
refactor ScanVolumeFileFrom()
|
5 years ago |
j.laycock
|
6fc6322c90
Change joeslay paths to chrislusf paths
|
5 years ago |
joeslay
|
d8c34b032f
Merge pull request #6 from chrislusf/master
|
5 years ago |
Chris Lu
|
5e9c65469e
volume: skip readonly checking when Destroy()
|
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 |
j.laycock
|
1e62a2b233
Fix memory not being unmapped
|
5 years ago |
j.laycock
|
840ccdc35d
Refactor to pass memory maps by reference instead of value, fix memory maps not being created properly or written to properly
|
5 years ago |
j.laycock
|
dc50701e7d
Overload createFile function, expose File in memory_map struct, delete from memory_map map on delete
|
5 years ago |