Add async partitioned index to ci_builds
What does this MR do and why?
This MR adds an async partitioned index to ci_builds
so that we can create a Service to ingest data from ci_builds to ClickHouse based on finished_at
+id
order. Using an existing index on a field such as updated_at
is not feasible since updated_at
, unlike finished_at
can be changed between invokations of the worker that is syncing to ClickHouse.
Changelog: added
Part of #421200 (closed)
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Pedro Pombeiro