diff options
author | Simon Westphahl <simon.westphahl@bmw.de> | 2023-02-01 13:11:01 +0100 |
---|---|---|
committer | Simon Westphahl <simon.westphahl@bmw.de> | 2023-02-01 13:11:01 +0100 |
commit | 1897ac4c6ff6669e569022bb9cab7f04575cec11 (patch) | |
tree | f94391053f715783bdec8e0902c2a4b81c32cc7f /web/src/containers | |
parent | c0985cff39e0ec2b9f7252e7d4a29e9979cda99f (diff) | |
download | zuul-1897ac4c6ff6669e569022bb9cab7f04575cec11.tar.gz |
Prevent files cache ltime from going backward
This fixes a race condition when two schedulers request files for the
same repository at roughly the same time.
The files cache ltime is generated before creating the cat job. We also
cannot guarantee the order in which the job results are processed.
Since we include the files cache ltime in the min. ltimes as part
of the layout state we need to make sure that the timestamp of the cache
doesn't go backward.
This should fix the following exception we occassionally see in
zuul-web:
WARNING zuul.ConfigLoader: Zuul encountered an error while accessing the repo org/project.
The error was:
Configuration files missing from cache. Check Zuul scheduler logs for more information.
Change-Id: I9fe2ed0b7a95dd12bb978273673e905d06bee72d
Diffstat (limited to 'web/src/containers')
0 files changed, 0 insertions, 0 deletions