Chris Lu
|
35393b4a02
|
cleanly destroy remote files
|
2019-12-25 16:17:58 -08:00 |
|
Chris Lu
|
f42b5bd0f5
|
rename .sdb to .sdx
|
2019-12-24 10:19:12 -08:00 |
|
Chris Lu
|
09ca936c78
|
shell: add ec.decode command
|
2019-12-23 12:48:20 -08:00 |
|
Chris Lu
|
deb03ecfa3
|
remove duplicated checking
already checked in store.go
|
2019-12-18 23:59:53 -08:00 |
|
Chris Lu
|
ef3ae3cd41
|
clean up sorted index file
|
2019-12-18 20:59:15 -08:00 |
|
Chris Lu
|
10bd3c6b4b
|
refactoring
|
2019-12-08 19:44:16 -08:00 |
|
Chris Lu
|
f38f90b7ea
|
cleanly remove .tier volume file
|
2019-12-06 22:19:47 -08:00 |
|
Chris Lu
|
6827cabfbb
|
volume: dataFileAccessLock change to RW Lock
|
2019-12-06 06:59:57 -08:00 |
|
Chris Lu
|
f60154f330
|
master load backend storage config from master.toml
|
2019-11-28 18:33:18 -08:00 |
|
chenwanli
|
295f3beed5
|
rm ldb and bdb directory
|
2019-11-19 09:35:06 +08:00 |
|
Chris Lu
|
85f8649320
|
refactor memory mapped file into backend storage
|
2019-11-09 00:10:59 -08:00 |
|
Chris Lu
|
19b6a16003
|
changed from os.file to backend.DataStorageBackend
|
2019-10-29 00:35:16 -07:00 |
|
Chris Lu
|
46ed2ca902
|
refactoring
|
2019-10-24 23:41:32 -07:00 |
|
Chris Lu
|
3c865ee39b
|
fix missing needle header read
|
2019-10-22 00:57:47 -07:00 |
|
Chris Lu
|
fc412e428b
|
refactor ScanVolumeFileFrom()
|
2019-10-22 00:50:30 -07:00 |
|
j.laycock
|
6fc6322c90
|
Change joeslay paths to chrislusf paths
|
2019-09-12 14:18:21 +01:00 |
|
joeslay
|
d8c34b032f
|
Merge pull request #6 from chrislusf/master
merge seaweed master
|
2019-09-12 11:44:09 +01:00 |
|
Chris Lu
|
5e9c65469e
|
volume: skip readonly checking when Destroy()
fix https://github.com/chrislusf/seaweedfs/issues/1063
|
2019-09-11 09:45:09 -07:00 |
|
j.laycock
|
1f01eb78e8
|
Rename mem_map to mMap, remove some in_memory variables being passed around, added MemoryMapped member to volume struct
|
2019-09-03 17:00:59 +01:00 |
|
j.laycock
|
1e62a2b233
|
Fix memory not being unmapped
|
2019-08-30 16:55:33 +01:00 |
|
j.laycock
|
840ccdc35d
|
Refactor to pass memory maps by reference instead of value, fix memory maps not being created properly or written to properly
|
2019-08-30 12:30:00 +01:00 |
|
j.laycock
|
dc50701e7d
|
Overload createFile function, expose File in memory_map struct, delete from memory_map map on delete
|
2019-08-30 12:30:00 +01:00 |
|
j.laycock
|
0e5d3b1a70
|
Move memory_map_windows to new folder, intercept most of the read and write calls to volume dat files
|
2019-08-30 12:30:00 +01:00 |
|
Chris Lu
|
d829df4f59
|
volume: protect against nil needle map
fix @mastak reported nil problem in https://github.com/chrislusf/seaweedfs/issues/1037
|
2019-08-14 01:08:01 -07:00 |
|
Chris Lu
|
e40634e6b4
|
volume: fail the volume deletion if compaction is in progress
fix https://github.com/chrislusf/seaweedfs/issues/1035
|
2019-08-12 00:53:50 -07:00 |
|
Chris Lu
|
33b3366043
|
volume: avoid compacting wait group
|
2019-07-21 13:49:59 -07:00 |
|
Chris Lu
|
5a135fef87
|
purge old code
|
2019-07-21 10:45:36 -07:00 |
|
Chris Lu
|
c54d9221b9
|
write requests also checks cookie if overwrites
protect against edge cases, avoid https://github.com/chrislusf/seaweedfs/issues/1014
|
2019-07-17 23:57:34 -07:00 |
|
Chris Lu
|
c33f423955
|
stop early if compaction fails
fix https://github.com/chrislusf/seaweedfs/issues/1015
|
2019-07-17 23:22:01 -07:00 |
|
Chris Lu
|
c2960c7a86
|
defaulting file ttl to volume ttl
fix https://github.com/chrislusf/seaweedfs/issues/992
|
2019-06-26 11:18:23 -07:00 |
|
Chris Lu
|
440111a349
|
volume: support http status 304 for the same file id
|
2019-04-21 13:33:23 -07:00 |
|
Chris Lu
|
0302b9496c
|
volume: also check cookie for possible duplicates
|
2019-04-21 13:31:45 -07:00 |
|
Chris Lu
|
ac2727853f
|
fix needle map entry size
|
2019-04-19 00:39:34 -07:00 |
|
Chris Lu
|
e5506152c0
|
refactoring
|
2019-04-18 21:43:36 -07:00 |
|
Chris Lu
|
b09e8dbb37
|
add VolumeStreamFollow, but not used yet
|
2019-04-18 00:18:29 -07:00 |
|
Chris Lu
|
f567777d64
|
volume: fix needle checking for deleted needles
|
2019-04-15 21:58:43 -07:00 |
|
Chris Lu
|
000ee725fc
|
refactor Offset into a struct of bytes
|
2019-04-08 19:40:56 -07:00 |
|
Chris Lu
|
df95ce0b6c
|
weed backup: efficient delta backup
fix https://github.com/chrislusf/seaweedfs/issues/399
|
2019-03-25 23:01:53 -07:00 |
|
bingoohuang
|
6ddfaf33cb
|
extract VolumeFileScanner for ScanVolumeFile
|
2019-01-16 17:48:59 +08:00 |
|
bingoohuang
|
27093bc2e5
|
fix needle Append return offset to avoid uint32 overflow
|
2019-01-16 16:48:03 +08:00 |
|
Chris Lu
|
badd8fdf8f
|
shortcut for empty file
|
2019-01-08 09:03:28 -08:00 |
|
Chris Lu
|
6b5d6bb5a6
|
adjust error names
|
2019-01-05 19:52:38 -08:00 |
|
Chris Lu
|
9383c91eb1
|
wait to read again if the volume is compacting
|
2019-01-05 19:52:17 -08:00 |
|
Chris Lu
|
1478d7ea21
|
reduce file seek when writing
|
2018-12-31 15:08:32 -08:00 |
|
Chris Lu
|
f64dc7465b
|
remove index file
fix https://github.com/chrislusf/seaweedfs/issues/793
|
2018-12-17 20:33:32 -08:00 |
|
Chris Lu
|
86dd933596
|
go fmt
|
2018-11-23 00:26:15 -08:00 |
|
Chris Lu
|
2697d6a4fb
|
fix deleting bucket
|
2018-11-08 22:15:21 -08:00 |
|
Chris Lu
|
f9dbaf6292
|
delete file by name instead of referencing the dataFile pointer
|
2018-11-05 08:53:38 -08:00 |
|
alex8224
|
8d3f9c0b75
|
fix invalid point when delete collection
|
2018-11-05 19:53:55 +08:00 |
|
Chris Lu
|
f050b22d6c
|
close file in ScanVolumeFile()
fix https://github.com/chrislusf/seaweedfs/issues/761
|
2018-11-04 00:28:24 -07:00 |
|