From 83c98882bb29b39858d4729578ce56bcf65f225c Mon Sep 17 00:00:00 2001 From: Jake Moshenko Date: Tue, 10 Nov 2015 19:49:00 -0500 Subject: [PATCH] Fix the backfill batch message to report the number --- util/migrate/allocator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/migrate/allocator.py b/util/migrate/allocator.py index 64fea9ea4..6e531d251 100644 --- a/util/migrate/allocator.py +++ b/util/migrate/allocator.py @@ -140,7 +140,7 @@ def yield_random_entries(batch_query, primary_key_field, batch_size, max_id): allocator.mark_completed(start_index, max_id + 1) continue - logger.info('Found %s candidates, processing block') + logger.info('Found %s candidates, processing block', len(all_candidates)) for candidate in all_candidates: abort_early = Event() yield candidate, abort_early