Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/configuration/storage-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ The Google Cloud Storage flavor (`gcs`) turns off multi-object delete requests a

*MinIO flavor*

The MinIO flavor (`minio`) forces path-style access.
The MinIO flavor (`minio`) overrides the `region` parameter to `minio` and forces path-style access.

Example of a storage configuration for Google Cloud Storage in YAML format:

Expand Down
2 changes: 2 additions & 0 deletions quickwit/quickwit-config/src/storage_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ impl S3StorageConfig {
self.disable_multipart_upload = true;
}
Some(StorageBackendFlavor::MinIO) => {
self.region = Some("minio".to_string());
self.force_path_style_access = true;
}
_ => {}
Expand Down Expand Up @@ -497,6 +498,7 @@ mod tests {
assert!(gcs_storage_config.disable_multipart_upload);

let minio_storage_config = storage_configs[3].as_s3().unwrap();
assert_eq!(minio_storage_config.region, Some("minio".to_string()));
assert!(minio_storage_config.force_path_style_access);
}

Expand Down