pages:deploy - PG::ForeignKeyViolation: ERROR
Summary
We have recently started deploying a docs archives site hosted in Pages. This site contains a lot of HTML files from almost 30 old GitLab docs versions. As of now, the size of the artifacts is 12.4G.
The problem is that we see failures in the pages:deploy job:
pages:deploy - PG::ForeignKeyViolation: ERROR: insert or update on table "project_pages_metadata"
violates foreign key constraint "fk_0fd5b22688" DETAIL: Key (pages_deployment_id)=(10733527)
is not present in table "pages_deployments"
Here's a successful pages job, and you can see that pages:deploy failed three times in a row.
This has happened in the past and the error got away when we run a new pipeline, so this is bugtransient I guess.
Steps to reproduce
Not sure, but I suspect it has to do with the size.
Example Project
https://archives.docs.gitlab.com/
What is the current bug behavior?
pages:deploy fails.
What is the expected correct behavior?
pages:deploy succeeds.
Edited by Achilleas Pipinellis