Konstantin Lebedev
|
99ef280c7c
|
avoid data loss after restarting a container with a volum server
|
2021-06-02 17:07:19 +05:00 |
|
Chris Lu
|
1aa7e99a89
|
skip file not found error when deleting
|
2021-05-15 09:37:39 -07:00 |
|
qieqieplus
|
ac26080bd2
|
fix concurrent vacuum & delete panic
|
2021-05-05 17:54:50 +08:00 |
|
bingoohuang
|
cf552417a7
|
minFreeSpace refactored
|
2021-04-27 10:37:24 +08:00 |
|
bingoohuang
|
31f1cdeac2
|
minFreeSpace argument allows size like 10GiB
|
2021-04-26 18:48:34 +08:00 |
|
Chris Lu
|
ca998328c2
|
do not add new volumes when below minFreeSpacePercent
fix https://github.com/chrislusf/seaweedfs/issues/2017
|
2021-04-21 23:11:11 -07:00 |
|
Chris Lu
|
a8114da02d
|
avoid thundering herd effect
transient errors may cause thundering herd effect to all trying to recover from remove ec shards
|
2021-04-21 10:17:12 -07:00 |
|
Chris Lu
|
ae74d8f02a
|
fix error message
related to https://github.com/chrislusf/seaweedfs/issues/2012
|
2021-04-21 01:40:16 -07:00 |
|
Chris Lu
|
283d703d50
|
adjust text
|
2021-04-15 11:29:58 -07:00 |
|
Chris Lu
|
8e404a1433
|
go fmt
|
2021-04-02 02:22:26 -07:00 |
|
Chris Lu
|
b465095db1
|
shell: add volume.check.disk to fix inconsistency for replicated volumes
fix https://github.com/chrislusf/seaweedfs/issues/1923
|
2021-03-22 00:03:16 -07:00 |
|
Chris Lu
|
102a951377
|
refactor, split into 2 files
|
2021-03-21 13:05:53 -07:00 |
|
Chris Lu
|
f6e2566ee5
|
better logs for cookie mismatch
|
2021-03-20 12:02:57 -07:00 |
|
Chris Lu
|
35d939a1d2
|
go fmt
|
2021-03-14 13:21:02 -07:00 |
|
Chris Lu
|
cb423312a4
|
prevent nil volume message
|
2021-03-13 11:05:29 -08:00 |
|
Chris Lu
|
972327f966
|
prevent nil volume nm
|
2021-03-13 11:04:51 -08:00 |
|
Chris Lu
|
737bde5ab7
|
refactoring, remove duplicated code
|
2021-03-09 23:23:01 -08:00 |
|
Chris Lu
|
828f6e9f4d
|
volume: auto add missing vif files
fix https://github.com/chrislusf/seaweedfs/issues/1878
|
2021-03-09 12:09:32 -08:00 |
|
qieqieplus
|
5b16820924
|
fix: collection stats won't update if all volumes expired at same iteration
|
2021-03-09 18:49:45 +08:00 |
|
Chris Lu
|
726edab054
|
avoid nil when closing an index
fix https://github.com/chrislusf/seaweedfs/issues/1870
|
2021-03-07 11:03:09 -08:00 |
|
Chris Lu
|
bdfed16d42
|
avoid nil exception
fix https://github.com/chrislusf/seaweedfs/issues/1869
|
2021-03-07 01:49:06 -08:00 |
|
Chris Lu
|
e9eddfb8a2
|
remove wrong writes
|
2021-03-06 14:26:27 -08:00 |
|
Chris Lu
|
38fc200e56
|
CRCWriter consistent with CRC
|
2021-03-06 14:26:27 -08:00 |
|
Chris Lu
|
400de380f4
|
volume server: support tcp direct put/get/delete
|
2021-03-05 02:29:38 -08:00 |
|
Chris Lu
|
c46d16b2f3
|
skip network error when remote volumes start
|
2021-03-01 01:20:06 -08:00 |
|
Chris Lu
|
6e43e8ce17
|
add logs for remote file loading
|
2021-03-01 00:48:59 -08:00 |
|
Chris Lu
|
015d16f43f
|
add vif file versions in case loading superblock fails
|
2021-03-01 00:48:30 -08:00 |
|
Chris Lu
|
d680676d45
|
skip already loaded backends
|
2021-03-01 00:47:03 -08:00 |
|
Chris Lu
|
540441fd38
|
go fmt
|
2021-02-28 20:34:14 -08:00 |
|
Chris Lu
|
2cca07b44c
|
cloud tier to non-AWS s3 gateways
|
2021-02-28 18:59:09 -08:00 |
|
Chris Lu
|
30b30b8fe0
|
volume.tier.move: passing non-empty disk type
|
2021-02-22 01:59:03 -08:00 |
|
Chris Lu
|
03c643aa6b
|
fix test
fileSize need to be divided by 8
|
2021-02-20 21:19:21 -08:00 |
|
Chris Lu
|
7635f6b9fa
|
disk file avoid file.Stat()
|
2021-02-20 20:06:06 -08:00 |
|
Chris Lu
|
a2383b3b12
|
Revert "Revert "avoid file.Stat()""
This reverts commit 7ef4c24f18 .
|
2021-02-20 12:42:09 -08:00 |
|
Chris Lu
|
7ef4c24f18
|
Revert "avoid file.Stat()"
This reverts commit 98c93ca465 .
|
2021-02-20 12:39:33 -08:00 |
|
Chris Lu
|
1ad3200094
|
skip seek() when index file writes
|
2021-02-20 12:39:25 -08:00 |
|
Chris Lu
|
98c93ca465
|
avoid file.Stat()
avoid one Syscall, but did not help on performance though
|
2021-02-20 09:44:17 -08:00 |
|
Chris Lu
|
a1210d1e8d
|
Revert "volume: avoid file.stat(), file.seek() if possible during writes"
This reverts commit c78409a598 .
|
2021-02-19 03:56:27 -08:00 |
|
Chris Lu
|
c78409a598
|
volume: avoid file.stat(), file.seek() if possible during writes
|
2021-02-18 23:22:54 -08:00 |
|
Chris Lu
|
73958e357d
|
add descriptive error if no free volumes
|
2021-02-18 19:10:20 -08:00 |
|
bingoohuang
|
352ac2f271
|
Merge remote-tracking branch 'origin/master'
|
2021-02-18 14:05:51 +08:00 |
|
bingoohuang
|
eab6e31d34
|
use backticks instead of double quotes to avoid escaped additionally in regex
|
2021-02-18 14:05:28 +08:00 |
|
Chris Lu
|
3575d41009
|
go fmt
|
2021-02-17 20:57:08 -08:00 |
|
Chris Lu
|
7403cd43c5
|
only use "" for hdd to avoid two values for the same thing
|
2021-02-16 10:50:42 -08:00 |
|
Chris Lu
|
ebf320ec22
|
avoid divided by zero
|
2021-02-16 05:59:24 -08:00 |
|
Chris Lu
|
3fe628f04e
|
use hdd instead of empty string
|
2021-02-16 03:03:00 -08:00 |
|
Chris Lu
|
f8446b42ab
|
this can compile now!!!
|
2021-02-16 02:47:02 -08:00 |
|
Chris Lu
|
7ce647f27e
|
support customizable disk type
|
2021-02-13 15:42:42 -08:00 |
|
Chris Lu
|
4bd8a692d8
|
disk type can be generic tags
|
2021-02-13 13:50:14 -08:00 |
|
Chris Lu
|
885ca34748
|
volume: fail fast if idx files are missing
fix https://github.com/chrislusf/seaweedfs/issues/1796
|
2021-02-11 00:44:40 -08:00 |
|