zuul/etc
James E. Blair 7d7d2f9f2a Remove time database
We can obtain the same information from the SQL database now, so
do that and remove the filesystem-based time database.  This will
help support multiple schedulers (as they will all have access to
the same data).

Nothing in the scheduler uses the state directory anymore, so clean
up the docs around that.  The executor still has a state dir where
it may install ansible-related files.

The SQL query was rather slow in practice because it created a
temporary table since it was filtering mostly by buildset fields
then sorting by build.id.  We can sort by buildset.id and get nearly
the same results (equally valid from our perspective) much faster.

In some configurations under postgres, we may see a performance
variation in the run-time of the query.  In order to keep the time
estimation out of the critical path of job launches, we perform
the SQL query asynchronously.  We may be able to remove this added
bit of complexity once the scale-out-scheduler work is finished
(and/or we we further define/restrict our database requirements).

Change-Id: Id3c64be7a05c9edc849e698200411ad436a1334d
2021-09-27 11:54:33 -07:00
..
zuul-executor.service.d Add zuul systemd drop-in files for CentOS 7 2018-04-29 23:29:39 +02:00
zuul-scheduler.service.d Add zuul systemd drop-in files for CentOS 7 2018-04-29 23:29:39 +02:00
zuul-web.service.d Add zuul systemd drop-in files for CentOS 7 2018-04-29 23:29:39 +02:00
layout.yaml-sample Fix indent error for layout.yaml-sample. 2018-06-20 12:20:23 +08:00
logging.conf-sample Add propagate=0 for loggers in logging.conf-sample 2019-11-14 01:08:50 +03:00
zuul-executor.service Fix zuul systemd files 2018-04-27 18:27:24 -04:00
zuul-scheduler.service Fix zuul systemd files 2018-04-27 18:27:24 -04:00
zuul-web.service Fix zuul systemd files 2018-04-27 18:27:24 -04:00
zuul.conf-sample Remove time database 2021-09-27 11:54:33 -07:00