Fix the backfill batch message to report the number

This commit is contained in:
Jake Moshenko 2015-11-10 19:49:00 -05:00
parent 941d13ea3e
commit 83c98882bb

View file

@ -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