From f324ef23cf8e38593fa190c668294604a0f2f7d5 Mon Sep 17 00:00:00 2001 From: Mike Lang Date: Mon, 23 Oct 2023 17:01:28 +1100 Subject: [PATCH] backfiller: Fix critical issues with backfilling extras --- backfiller/backfiller/main.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/backfiller/backfiller/main.py b/backfiller/backfiller/main.py index b982180..544afcc 100644 --- a/backfiller/backfiller/main.py +++ b/backfiller/backfiller/main.py @@ -579,13 +579,13 @@ class BackfillerWorker(object): path = os.path.join(dir, file) self.logger.info(f"Backfilling {path}") workers.append(pool.spawn( - get_remote_extra(self.base_dir, self.node, path) + get_remote_extra, self.base_dir, self.node, path )) - for worker in workers: - worker.get() + for worker in workers: + worker.get() - self.logger.info("Backfilled {} extras".format(len(missing_files))) + self.logger.info("Backfilled {} extras for dir {}".format(len(missing_files), dir)) def run(self):