MAX_PARTS is treated as universal, but it is not
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start at crates/s3/src/multipart.rs where MAX_PARTS is defined, then trace which commands (rc put, rc object copy) consume it. Decide where a configurable part limit belongs — CLI flag, config file, or auto-detected bucket capability — and check how other S3 client settings are threaded through the CLI. Done means a user can raise or lower the multipart part ceiling for uploads without recompiling, with tests covering a non-1000 limit such as Scaleway's.
由索引模型根据 Issue 内容生成。
描述
In this code, MAX_PARTS is hard-coded to match AWS' S3 implementation: https://github.com/rustfs/cli/blob/main/crates/s3/src/multipart.rs#L19
This assumes that all S3 implementations have the same ceiling on number of parts. They do not. For example, Scaleway Object Storage is compatible with the S3 protocol, but limits multipart uploads to 1000 parts: https://www.scaleway.com/en/docs/object-storage/api-cli/multipart-uploads/
Would it be possible to make MAX_PARTS configurable in some way for CLI users?
I have concrete projects I am migrating from mc to rc, but cannot progress with this limitation. (Previously we used mc od which allowed part configuration, but it was always a bit of a bad solution, compared to having better built-in suport for setting max number of parts in all commands that use the field, e.g. rc put, rc object copy).
- 主要语言
- Rust
- 星标
- 159
- 派生
- 23
- 平均合并
- 7 小时 4 分钟
- 30 天内合并 PR
- 10
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
rustfs/cli 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 90/100
维护者通常 1 天内回复
-
Cannot install and update with brew可能已有人在做 @overtrue 于 4 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 55/100
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 78/100
维护者通常 1 天内回复
相似的 Issue
-
C-bug
难度 2/5 1-3 小时 新手友好度 78/100
rust-lang/rust-analyzer#23501 ·
维护者通常 1 天内回复
-
Streamable HTTP client: a 401 or 403 with a JSON-RPC error body and no WWW-Authenticate loses its HTTP status可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭bug P2 ready for work T-security T-transport
难度 2/5 1-3 小时 新手友好度 68/100
modelcontextprotocol/rust-sdk#1339 ·
维护者通常 3 天内回复
-
French BIP39 wordlist starts with a UTF-8 BOM, so generated French mnemonics carry U+FEFF and derive a non-canonical seed可能已有人在做 @Kshot3000 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 91/100
ergoplatform/sigma-rust#976 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
[Bug]: Web chat input doesn't regain focus after a reply finishes可能已有人在做 @GaijinSystems 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
zeroclaw-labs/zeroclaw#11658 ·
维护者通常 2 天内回复