diff options
Diffstat (limited to 'zuul')
-rw-r--r-- | zuul/configloader.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/zuul/configloader.py b/zuul/configloader.py index 7f8346382..1e7e010cc 100644 --- a/zuul/configloader.py +++ b/zuul/configloader.py @@ -2221,6 +2221,12 @@ class TenantParser(object): job.source_context.branch) with self.unparsed_config_cache.writeLock( job.source_context.project_canonical_name): + # Prevent files cache ltime from going backward + if files_cache.ltime >= job.ltime: + self.log.info( + "Discarding job %s result since the files cache was " + "updated in the meantime", job) + continue # Since the cat job returns all required config files # for ALL tenants the project is a part of, we can # clear the whole cache and then populate it with the |