Skip to content

Document read-only transaction error for registry

Jaime Martinez requested to merge doc-registry-troubleshoot-read-only-tx into master

What does this MR do and why?

Document read-only transaction for registry

If the registry fails to apply schema migrations or to run online garbage collection with an error related to not being able to execute a statement in a read-only transaction, a setting may be preventing this.

This commit adds a note to the troubleshooting section with the errors and how to disable the related setting default_transaction_read_only.

Related to container-registry#1179 (closed). and #423459 (comment 1712909335).

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Merge request reports