Konstantin Lebedev
3add86ef9e
[s3acl] Step 0: Put bucket ACL only responds success if the ACL is private. ( #4856 )
* Passing test:
test_bucket_acl_default
test_bucket_acl_canned_private_to_private
https://github.com/seaweedfs/seaweedfs/issues/4519
* Update weed/s3api/s3api_bucket_handlers.go
---------
Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
Signed-off-by: LHHDZ <shichanglin5@qq.com>
1 year ago
chuanhai.wei
7e85e1c5f9
fix(volume.fix.replication): processedBytes
10 months ago
steve.wei
8ebcd18b56
fix(volume.fix.replication): adjust volume count, not free volume count ( #5479 )
(cherry picked from commit 67ead9b18f
)
10 months ago
changlin.shi
18d941ba25
禁用shell相关删除命令
Signed-off-by: changlin.shi <changlin.shi@ly.com>
11 months ago
7y-9
a2c5ad0faf
fix: only admin auth can delete S3 bucket ( #5312 )
1 year ago
changlin.shi
618668dda8
Revert "fix: 当缺少content-type头和文件后缀时自动检测mime type"
This reverts commit 503ae6ad64
.
1 year ago
changlin.shi
503ae6ad64
fix: 当缺少content-type头和文件后缀时自动检测mime type
Signed-off-by: changlin.shi <changlin.shi@ly.com>
1 year ago
changlin.shi
42fdce102d
fix: 修复默认添加content-type为application/octet-stream导致浏览器无法预览的问题
Signed-off-by: changlin.shi <changlin.shi@ly.com>
1 year ago
changlin.shi
4b144c1940
fix: 修复 stream signed 鉴权场景缺失acl account id 注入bug
Signed-off-by: changlin.shi <changlin.shi@ly.com>
1 year ago
changlin.shi
9736534a57
volume.fix.replication 增加 replicaPlacement 参数
Signed-off-by: changlin.shi <changlin.shi@ly.com>
1 year ago
changlin.shi
e0947cec67
refresh max volume count after adjust
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
LHHDZ
7f8ab63b7d
fix key corrupt when fs.configure copy path trie ( #4353 )
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
changlin.shi
682f24a9ac
fs.conf 反序列化问题修复
Signed-off-by: changlin.shi <changlin.shi@ly.com>
1 year ago
changlin.shi
fa8698f6c3
perf(fix): fix bugs
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
LHHDZ
d695119073
The filer does not set defaultReplication to the defaultReplication o… ( #4315 )
The filer does not set defaultReplication to the defaultReplication of the master (it is not necessary, because if the filer is not set, the configuration of the master will be used when calling Assign), otherwise, when the defaultReplication of the master is modified and all master nodes are restarted, the defaultReplication will not take effect (because the filer Keep the previous defaultReplication setting from the master)
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
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
changlin.shi
d0bfc260e7
chore(fs.configure 可以指定修改 collection):
Signed-off-by: changlin.shi <changlin.shi@ly.com>
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
changlin.shi
af40b7d7a2
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
changlin.shi
d393937c90
compatible with aws-sdk-go's cxpect header
Signed-off-by: changlin.shi <changlin.shi@ly.com>
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