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 |
|
Chris Lu
|
821c46edf1
|
Merge branch 'master' into support_ssd_volume
|
2021-02-09 11:37:07 -08:00 |
|
bingoohuang
|
9e06ef66b9
|
fix renaming for 5bytes
|
2021-02-09 09:44:28 +08:00 |
|
Chris Lu
|
a833021132
|
fix refactoring left over
|
2021-02-07 23:03:03 -08:00 |
|
bingoohuang
|
7256902fb0
|
fix typo offset.ToAcutalOffset to offset.ToActualOffset
|
2021-02-07 12:11:51 +08:00 |
|
bingoohuang
|
94ea3bd3a5
|
renaming NeedleMapType to NeedleMapKind
|
2021-02-07 09:00:03 +08:00 |
|
Chris Lu
|
cfb9342a15
|
avoid concurrent map updates to viper
|
2021-01-12 02:28:13 -08:00 |
|
Chris Lu
|
039ad101b1
|
manifest file also need to detect compression
fix https://github.com/chrislusf/seaweedfs/issues/1724#issuecomment-753585046
|
2021-01-03 01:42:21 -08:00 |
|
Chris Lu
|
4f31c1bb94
|
go fmt
|
2020-12-22 02:34:08 -08:00 |
|
Chris Lu
|
9abf016af1
|
Merge branch 'master' into support_ssd_volume
|
2020-12-17 22:30:19 -08:00 |
|
Chris Lu
|
738c4fd203
|
fix logging when error
address https://github.com/chrislusf/seaweedfs/pull/1685#issuecomment-747845601
|
2020-12-17 19:37:46 -08:00 |
|
Chris Lu
|
daa8157fc2
|
Merge branch 'master' into support_ssd_volume
|
2020-12-17 13:05:20 -08:00 |
|
Chris Lu
|
e2076201d7
|
volume: avoid reprocessing the same volume
fix https://github.com/chrislusf/seaweedfs/issues/1682
|
2020-12-17 13:03:39 -08:00 |
|
Chris Lu
|
986cbdf7d9
|
Revert "Merge pull request #1683 from qieqieplus/master"
This reverts commit 8cb67952db , reversing
changes made to 200e56215a .
|
2020-12-17 12:46:42 -08:00 |
|
Chris Lu
|
f56e6d231e
|
Revert "Merge pull request #1683 from qieqieplus/master"
This reverts commit 8cb67952db , reversing
changes made to 200e56215a .
|
2020-12-17 12:46:20 -08:00 |
|
Chris Lu
|
1bf22c0b5b
|
go fmt
|
2020-12-16 09:14:05 -08:00 |
|
Chris Lu
|
1d88865869
|
passing disk type along
|
2020-12-16 09:10:14 -08:00 |
|
Chris Lu
|
23014b6810
|
Merge branch 'master' into support_ssd_volume
|
2020-12-16 08:26:51 -08:00 |
|
chenqieqie
|
45f902a9b7
|
smaller critical section
|
2020-12-16 20:23:51 +08:00 |
|
chenqieqie
|
4e58a4f24e
|
fix race condition when loading volumes concurrently
|
2020-12-16 18:49:10 +08:00 |
|
Chris Lu
|
2e8dba571b
|
adjust volume server UI
|
2020-12-14 00:51:57 -08:00 |
|
Chris Lu
|
933f2f4cfd
|
find location with matching disk type
|
2020-12-13 23:39:00 -08:00 |
|
Chris Lu
|
94525aa0fd
|
allocate volume by disk type
|
2020-12-13 23:08:21 -08:00 |
|
Chris Lu
|
f6a419c26c
|
disk type configurable for each folder
|
2020-12-13 22:49:56 -08:00 |
|
Chris Lu
|
0d2ec832e2
|
rename from volumeType to diskType
|
2020-12-13 11:59:32 -08:00 |
|
Chris Lu
|
d156c74ec0
|
volume server set volume type and heartbeat to the master
|
2020-12-13 03:11:24 -08:00 |
|
Chris Lu
|
e9cd798bd3
|
adding volume type
|
2020-12-13 00:58:58 -08:00 |
|
Chris Lu
|
ae655033ac
|
adjust logging
|
2020-12-11 16:57:53 -08:00 |
|
Chris Lu
|
d986c7196d
|
use append time instead of filer's own modification time
fix https://github.com/chrislusf/seaweedfs/issues/1669
|
2020-12-11 16:55:18 -08:00 |
|
Chris Lu
|
d171d9f988
|
volume: ensure the volume dat and idx files are always closed
fix https://github.com/chrislusf/seaweedfs/issues/1646
|
2020-12-04 21:50:26 -08:00 |
|
Chris Lu
|
cc839f935d
|
better unit detection
|
2020-12-03 19:23:59 -08:00 |
|
Chris Lu
|
b219ccfe68
|
Update volume_ttl_test.go
|
2020-12-03 12:55:44 -08:00 |
|
Chris Lu
|
a83b8e7b01
|
ttl fix: 3y was converted into 96m
|
2020-12-03 10:53:29 -08:00 |
|
Chris Lu
|
f3bb645018
|
file open error
|
2020-12-01 23:37:49 -08:00 |
|