MAX_PARTS is treated as universal, but it is not
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 68/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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).
- Lenguaje dominante
- Rust
- Estrellas
- 159
- Forks
- 23
- Merge medio
- 7 h 4 min
- PR fusionados (30 d)
- 10
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de rustfs/cli
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
Los mantenedores suelen responder en 1 día
-
Cannot install and update with brewPosiblemente ocupada @overtrue la tomó hace 4 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
rustfs/cli#387 · 2 asignados ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
Los mantenedores suelen responder en 1 día
-
`rc mirror` Upload PerformanceAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
Todos los issues de rustfs/cli
Issues similares
-
llm translation
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
area: backend type: enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 61/100
armadavalor/WinKnife#6 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
5omeOtherGuy/phaseone#870 ·
Los mantenedores suelen responder en 1 día
-
Write a support policyAbierto
Dificultad 1/5 1-3 horas Aptitud para principiantes 72/100
MattA-Official/vwmcp#20 ·