From 180e7fef0a1bdd396865eff92ec6f1d7f0e7511e Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Fri, 10 Jun 2022 11:27:58 +0200 Subject: Actually distribute counters over nodes --- src/api/s3/put.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api/s3') 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 -- cgit v1.2.3