Stewart Miles
57ab1f8516
Use exponential backoff to query leader. ( #4313 )
`topology.Leader()` was using a backoff that typically
resulted in at least a 5s delay when initially starting
a master and raft server. This changes the backoff
algorithm to use exponential backoff starting with 100ms
and waiting up to 20s for leader selection.
Related to #4307
2 years ago
Stewart Miles
dd71f54c6b
Fix -raftHashicorp and -raftBootstrap flag propagation. ( #4309 )
`weed server` was not correctly propagating
`-master.raftHashicorp` and `-master.raftBootstrap` flags when
starting the master server.
Related to #4307
2 years ago
Patrick Schmidt
71b33faef0
Skip parent directory creation in mount ( #4310 )
A POSIX filesystem does not implicitly create parent directories when
they do not exist. Directories must be explicitly created and
permissions be set.
This also fixes a bug where asynchronous operations would create a
file in the filer before the parent directory was created. If the
file was a symlink or another special type of file the directory
would inherit that type and become unusable in the mounted FS.
2 years ago
chrislu
f5854d13df
fix test
2 years ago
chrislu
0454bb2d88
fix test
when size is zero, the "LastModified" is not written
2 years ago
chrislu
2268d38263
fix naming
fix https://github.com/seaweedfs/seaweedfs/issues/4305
2 years ago
chrislu
98bc93cf31
fix tests
2 years ago
Konstantin Lebedev
e17429223e
shell script unclean variables ( #4298 )
2 years ago
Thomas Anderson
bd70683871
fix(weed/topology/node.go): typo in error message ( #4292 )
2 years ago
Rohit Chormale
59706c89fb
#4270 set http status code to 409 if dir already exists ( #4287 )
2 years ago
chrislu
c589e9837c
fix tests
2 years ago
Kevin Liu
244385bf0d
Fix binding metrics to ipv6 ( #4286 )
* Fix binding metrics to ipv6
* Update weed/stats/metrics.go
---------
Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
2 years ago
zemul
bd6f2716d3
fix_read_tomb_needle_meta ( #4263 )
Co-authored-by: zemul <zhouzemiao@ihuman.com>
2 years ago
zemul
0bf56298d5
fix chunk.ModifiedTsNs ( #4264 )
* fix
* fix mtime s > ns
---------
Co-authored-by: zemul <zhouzemiao@ihuman.com>
2 years ago
chrislu
8241c9a829
adjust ui pagination size
fix https://github.com/seaweedfs/seaweedfs/issues/4258
2 years ago
lfhy
1976ca9160
add -disk to filer command ( #4247 )
* add -disk to filer command
* add diskType to filer.grpc
* use filer.disk when filerWebDavOptions.disk is empty
* add filer.disk to weed server command.
---------
Co-authored-by: 三千院羽 <3000y@MacBook-Pro.lan>
2 years ago
chrislu
214b7cd286
volume.fix.replication: adjust the retry checking times
2 years ago
LHHDZ
db5515eada
Fix s3api_object_list_handlers returning contents less than the specified limit when more data actually exists ( #4240 )
Fix when the stored data is actually enough but s3api_object_list_handlers returns less than the specified limit
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
Zachary Walters
ef2f741823
Updated the deprecated ioutil dependency ( #4239 )
2 years ago
chrislu
3227e4175e
3.43
2 years ago
chrislu
9bb0a9e306
clean comments
2 years ago
chrislu
545d5d0cc3
fix for io.ReaderAt used in filer.remote.sync
fix https://github.com/seaweedfs/seaweedfs/issues/4194
2 years ago
wusong
79af6b41d4
[mount] Fix read file-data in entry.content ( #4207 )
2 years ago
chrislu
5869945f16
avoid infinite loop
fix https://github.com/seaweedfs/seaweedfs/issues/4195#issuecomment-1426100904
2 years ago
chrislu
e037c71ec3
adjust text
2 years ago
chrislu
67b8c2853a
add line return
2 years ago
chrislu
302155a6fa
fix compilation
2 years ago
chrislu
5520b81551
add some error messages for args
related to https://github.com/seaweedfs/seaweedfs/issues/4115
2 years ago
chrislu
dc4ed2cd9b
do not move cloud tier volumes
fix https://github.com/seaweedfs/seaweedfs/issues/4195
2 years ago
chrislu
31bb91583f
fix bug when vid not found
fix https://github.com/seaweedfs/seaweedfs/issues/4193
2 years ago
chrislu
79d68a81fd
text change
2 years ago
chrislu
999a126a3f
typo
2 years ago
chrislu
1c2364936a
detect invalid bucket name
fix https://github.com/seaweedfs/seaweedfs/issues/4143
2 years ago
chrislu
5de93fe442
refactoring
2 years ago
Eric Yang
5083429704
ADHOC: s3 bucket name verification ( #4189 )
* ADHOC: s3 bucket name verification
* add test
2 years ago
Neo
d5f77706a8
volume:fix return if Replicate write error ( #4188 )
2 years ago
chrislu
8821d6b161
3.42
2 years ago
Muhammad Hallaj bin Subery
9bd422d2c9
adding support for B2 region ( #4177 )
Co-authored-by: Muhammad Hallaj bin Subery <hallaj@tuta.io>
2 years ago
chrislu
84e9934bf9
fix filer.remote.sync on a S3 cloud mount
fix https://github.com/seaweedfs/seaweedfs/issues/4175
2 years ago
chrislu
c47f75eb5b
fix null content type caused exception in hdfs client
fix https://github.com/seaweedfs/seaweedfs/issues/4170
2 years ago
wusong
fe573f26a8
memchunk save content twice ( #4174 )
2 years ago
Neo
b9b613a78e
filter system log dir does not make subscribe event ( #4172 )
2 years ago
wusong
665917fdf1
[mount]: delete redundant code ( #4173 )
2 years ago
a
0d085ec175
make directory lister trigger if mime type is httpd/unix-directory ( #4169 )
2 years ago
chrislu
4d71af87f3
3.41
2 years ago
chrislu
ef70415c70
skipping manifest chunk volume id change
2 years ago
chrislu
6e8dbf8868
add fs.meta.changeVolumeId
2 years ago
wusong
de081c0d64
[mount] fix metacache update ( #4161 )
2 years ago
Guo Lei
b63d1e9c6b
fix index ( #4158 )
2 years ago
chrislu
81fdf3651b
grpc connection to filer add sw-client-id header
2 years ago