chrislu
dff85e9c71
fix error handling
2 years ago
chrislu
0d817bc347
fix invalid memory address or nil pointer dereference on filer.sync
fix https://github.com/seaweedfs/seaweedfs/issues/3826
2 years ago
Guo Lei
84c401e693
Optimiz leveldb metric ( #3830 )
* optimiz updating mapmetric for leveldb
* import loading leveldb
* add comments
2 years ago
LHHDZ
d21e2f523d
split `ExtAcpKey` to `ExtAmzOwnerKey` and `ExtAmzAclKey` to avoid unn… ( #3824 )
split `ExtAcpKey` to `ExtAmzOwnerKey` and `ExtAmzAclKey` to avoid unnecessary `json.Unmarshal()` call
Signed-off-by: changlin.shi <changlin.shi@ly.com>
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
Konstantin Lebedev
5b28c3f728
revert disabling FSync for non Mac ( #3814 )
2 years ago
LHHDZ
3550692afc
change s3_account.go package to avoid cycle dependency ( #3813 )
2 years ago
chrislu
0711870f43
3.31
2 years ago
chrislu
109dc7fdf6
mount: remove mount directory from generating cache directory id
fix https://github.com/seaweedfs/seaweedfs/discussions/3811
2 years ago
chrislu
fc54afdba9
tests add parsing ec shard info
2 years ago
chrislu
0623bf582e
include ec shard for capacityByFreeVolumeCount
2 years ago
chrislu
98dc1e5c15
move volume: find target volume server by exiting/max ratio
2 years ago
chrislu
049f040c3c
refactor
2 years ago
chrislu
124b97f6d7
parsing ec volumes
2 years ago
chrislu
f9383aa726
refactor to change capacity data type
2 years ago
binbinshi
b7de4a967e
fix: compact_map get error mismatching cokie ( #3748 )
* fix: compact_map get error
* fix: CompactSection delete lock and move test to compact_map
Co-authored-by: shibinbin <shibinbin@megvii.com>
2 years ago
BakerBunker
b9d8a837af
Fix `mount -t weed` with extra options ( #3807 )
fuse: Ignore "-o" command
2 years ago
Konstantin Lebedev
5db25a8f2a
metric shows who is currently blocking the cluster or not ( #3799 )
* master_admin_lock Shows whether cluster is locked now or not
https://github.com/seaweedfs/seaweedfs/issues/3452
* fix metric MasterAdminLock
2 years ago
Viktor Kuzmin
f8d3ff466d
Allow parallel volume loading from different dirs during startup. ( #3802 )
2 years ago
Konstantin Lebedev
a522507f95
configure raft metrics ( #3798 )
2 years ago
Konstantin Lebedev
b9933d5589
master server graceful stop ( #3797 )
2 years ago
Konstantin Lebedev
36daa7709d
show raft leader via shell ( #3796 )
2 years ago
chrislu
ea271600ec
fix parameters
2 years ago
chrislu
0452ae6a6c
filer.sync: limit concurrency when fetching file chunks
fix https://github.com/seaweedfs/seaweedfs/issues/3787
2 years ago
Konstantin Lebedev
ec46a34f33
avoid increasing the coordinates of metric labels ( #3785 )
2 years ago
chrislu
29632d5a34
3.30
2 years ago
LHHDZ
e9584d9661
add ownership rest apis ( #3765 )
2 years ago
Konstantin Lebedev
6fa3d0cc46
fix delete key panic of remote sync dir ( #3770 )
2 years ago
chrislu
c3487d3da7
better fix for option format
2 years ago
chrislu
ba0db28dbb
mount: fix extra option format
2 years ago
chrislu
8e81619d02
mount: accept all extra mount options
fix https://github.com/seaweedfs/seaweedfs/issues/3767
2 years ago
Eric Yang
56c94cc08e
ADHOC: filter deleted files from idx file binary search ( #3763 )
* ADHOC: filter deleted files from idx file binary search
* remove unwanted check
Co-authored-by: root <root@HQ-10MSTD3EY.roblox.local>
2 years ago
LHHDZ
3de1e19780
s3: sync bucket info from filer ( #3759 )
2 years ago
LHHDZ
e00a12b099
associate `Account` and `Identity` by accountId ( #3754 )
2 years ago
LHHDZ
aacdcc4cad
s3: add account ( #3753 )
associate `Account` and `Identity` by accountId
2 years ago
Konstantin Lebedev
301b678147
[volume] Add new volumes to HUP(reload) signal ( #3755 )
Add new volumes to HUP(reload) signal
2 years ago
chrislu
47fd5d3fa1
skip debug message
2 years ago
Konstantin Lebedev
7ae51d1ec6
fix set master options for single server ( #3708 )
Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
2 years ago
jerebear12
190afcc3fd
Allow CORS on Filer ( #3750 )
Adjusted filer response headers
2 years ago
Konstantin Lebedev
faa6167b6b
fs.meta.load load any dirs with prefix "important" ( #3747 )
* fs.meta.load load any dirs with prefix "important"
* replace dirPattern to dirPrefix
* help dirPrefix
2 years ago
chrislu
b6d7556dda
skip truncation on error
fix https://github.com/seaweedfs/seaweedfs/issues/3746
2 years ago
chrislu
1ffb1e696e
3.29
2 years ago
chrislu
640c53cda8
add future list
2 years ago
chrislu
cc570a4477
assert results are sorted
2 years ago
chrislu
5c8f1467a1
ordered execution async wait
2 years ago
chrislu
973b8ff067
rename
2 years ago
chrislu
e31fdbc89b
rename file
2 years ago
chrislu
31922b2bf2
s3 to watch specific directories
2 years ago
chrislu
b90d92fca9
grpc: watch metadata changes by directory
2 years ago
chrislu
b463ca1a2f
filer replication: compare content changes directly
Fix https://github.com/seaweedfs/seaweedfs/issues/3714
The destination chunks may be empty. For example, the file is updated and the volume is vacuumed. In this case, the sync would miss the old chunks. This is fine. However, the entry would have correct metadata but missing chunks.
For this case, the simple metadata comparison would be wrongly skipping data changes, and the file will stay empty unless file content md5 is changed.
2 years ago
chrislu
b2a171632b
mount: fix 0 file size in linux
2 years ago