- Anis
- KP
- AWS signatureV4
- Region can't be empty string. Currently using "minio" as constant string.
| #!/usr/bin/env stack | |
| -- stack --resolver lts-6.27 runghc --package minio-hs | |
| -- | |
| -- Minio Haskell SDK, (C) 2017 Minio, Inc. | |
| -- | |
| -- Licensed under the Apache License, Version 2.0 (the "License"); | |
| -- you may not use this file except in compliance with the License. | |
| -- You may obtain a copy of the License at | |
| -- |
| package main | |
| import ( | |
| "fmt" | |
| "sync" | |
| "os" | |
| "github.com/minio/minio-go" | |
| ) |
The python script used minio1 to perform the multipart upload.
minio2 was brought down and back up while many concurrent multipart uploads were ongoing.
➜ ~ tree /mnt/export/minio{1..4}/.minio.sys/multipart/kp-test-minio-py/my-boring-object-3/
/mnt/export/minio1/.minio.sys/multipart/kp-test-minio-py/my-boring-object-3/
└── cf06534c-bcee-405c-976d-b22a3bdb71a7
└── part.10