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
|
4 years ago |
Chris Lu
|
f38f90b7ea
cleanly remove .tier volume file
|
4 years ago |
Chris Lu
|
6827cabfbb
volume: dataFileAccessLock change to RW Lock
|
4 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 |
j.laycock
|
0e5d3b1a70
Move memory_map_windows to new folder, intercept most of the read and write calls to volume dat files
|
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
|
33b3366043
volume: avoid compacting wait group
|
5 years ago |
Chris Lu
|
5a135fef87
purge old code
|
5 years ago |
Chris Lu
|
c54d9221b9
write requests also checks cookie if overwrites
|
5 years ago |
Chris Lu
|
c33f423955
stop early if compaction fails
|
5 years ago |
Chris Lu
|
c2960c7a86
defaulting file ttl to volume ttl
|
5 years ago |
Chris Lu
|
440111a349
volume: support http status 304 for the same file id
|
5 years ago |
Chris Lu
|
0302b9496c
volume: also check cookie for possible duplicates
|
5 years ago |
Chris Lu
|
ac2727853f
fix needle map entry size
|
5 years ago |
Chris Lu
|
e5506152c0
refactoring
|
5 years ago |
Chris Lu
|
b09e8dbb37
add VolumeStreamFollow, but not used yet
|
5 years ago |
Chris Lu
|
f567777d64
volume: fix needle checking for deleted needles
|
5 years ago |
Chris Lu
|
000ee725fc
refactor Offset into a struct of bytes
|
5 years ago |
Chris Lu
|
df95ce0b6c
weed backup: efficient delta backup
|
5 years ago |
bingoohuang
|
6ddfaf33cb
extract VolumeFileScanner for ScanVolumeFile
|
5 years ago |
bingoohuang
|
27093bc2e5
fix needle Append return offset to avoid uint32 overflow
|
5 years ago |
Chris Lu
|
badd8fdf8f
shortcut for empty file
|
5 years ago |
Chris Lu
|
6b5d6bb5a6
adjust error names
|
5 years ago |
Chris Lu
|
9383c91eb1
wait to read again if the volume is compacting
|
5 years ago |
Chris Lu
|
1478d7ea21
reduce file seek when writing
|
5 years ago |
Chris Lu
|
f64dc7465b
remove index file
|
5 years ago |
Chris Lu
|
86dd933596
go fmt
|
6 years ago |
Chris Lu
|
2697d6a4fb
fix deleting bucket
|
6 years ago |