aboutsummaryrefslogtreecommitdiff
path: root/src/api/s3
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-06-10 11:27:58 +0200
committerAlex Auvolat <alex@adnab.me>2022-06-10 11:27:58 +0200
commit180e7fef0a1bdd396865eff92ec6f1d7f0e7511e (patch)
tree46c5c358b12e2c86d56ad92a4a51640c428d93dd /src/api/s3
parentc054de43dd3ccbf6a884f73a474b423bbab41d08 (diff)
downloadgarage-180e7fef0a1bdd396865eff92ec6f1d7f0e7511e.tar.gz
garage-180e7fef0a1bdd396865eff92ec6f1d7f0e7511e.zip
Actually distribute counters over nodes
Diffstat (limited to 'src/api/s3')
-rw-r--r--src/api/s3/put.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/s3/put.rs b/src/api/s3/put.rs
index bbe7fd34..9ef37421 100644
--- a/src/api/s3/put.rs
+++ b/src/api/s3/put.rs
@@ -226,7 +226,7 @@ async fn check_quotas(
let key = key.to_string();
let (prev_object, counters) = futures::try_join!(
garage.object_table.get(&bucket.id, &key),
- garage.object_counter_table.table.get(&EmptyKey, &bucket.id),
+ garage.object_counter_table.table.get(&bucket.id, &EmptyKey),
)?;
let counters = counters