Skip to content

Enable Repository lease check in gstg, pre and gprd

Incrementally enable (via the environment feature flag created in #1035 (closed)) and monitor the impact of #925 (closed) in gstg, pre and gprd

Context

With this feature enabled we will now be checking (redis) if a "project path" (as found in the JWT passed to the registry - during a request) is locked for renaming before proceeding with a any requests that write to a repository.

CAUTION : This feature enablement will increase the amount of read requests to the registry redis by at most: "the amount of all current write traffic to all registry repositories".

Special attention must be paid to the following dashboard when rolling out:

Once we have gained sufficient feedback from the feature enablement we must disable the feature on all of gprd until the work to enact rename leases has been implemented #924 (moved) (see note-> #1036 (comment 1480064981))

No longer necessary as the change has minimal risk on the registry re: !1333 (comment 1485714047)

Edited by SAhmed