aboutsummaryrefslogtreecommitdiff
path: root/src/model/helper
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-05-04 11:49:23 +0200
committerAlex Auvolat <alex@adnab.me>2023-06-09 16:23:37 +0200
commit511e07ecd489fa72040171fe908323873a57ac19 (patch)
treee4fe58d387f8cb3c913e4bfad8c1472151fc8d88 /src/model/helper
parent4ea53dc75930d813b84b79c3427b194b6e664ce7 (diff)
downloadgarage-511e07ecd489fa72040171fe908323873a57ac19.tar.gz
garage-511e07ecd489fa72040171fe908323873a57ac19.zip
fix mpu counter (add missing workers) and report info at appropriate places
Diffstat (limited to 'src/model/helper')
-rw-r--r--src/model/helper/bucket.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/model/helper/bucket.rs b/src/model/helper/bucket.rs
index ff711d29..576d03f3 100644
--- a/src/model/helper/bucket.rs
+++ b/src/model/helper/bucket.rs
@@ -478,7 +478,9 @@ impl<'a> BucketHelper<'a> {
// ----
/// Deletes all incomplete multipart uploads that are older than a certain time.
- /// Returns the number of uploads aborted
+ /// Returns the number of uploads aborted.
+ /// This will also include non-multipart uploads, which may be lingering
+ /// after a node crash
pub async fn cleanup_incomplete_uploads(
&self,
bucket_id: &Uuid,