From 2a0868f6724de57412c5a594b12697690e59059c Mon Sep 17 00:00:00 2001 From: Lhoussain Ait Assou Date: Tue, 3 May 2022 12:12:08 +0200 Subject: [PATCH] account: fix early exit when refreshing by batch --- oio/account/backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oio/account/backend.py b/oio/account/backend.py index 93ec6e2d0b..7b70123646 100644 --- a/oio/account/backend.py +++ b/oio/account/backend.py @@ -200,7 +200,7 @@ class AccountBackend(RedisConnection): redis.call('HSET', lkey, 'marker', new_marker, 'mtime', mtime); - if table.getn(containers) <= tonumber(batch_size) then + if table.getn(containers) < tonumber(batch_size) then redis.call('DEL', lkey) return { 1 } end;