Page MenuHomePhabricator

Add section-level locking to scripts and cookbooks
Open, MediumPublic

Description

  • Implement dc+section granularity lock in zarcillo and zarclient

Cookbooks:

  • Clone
  • pool/depool?
  • Major-upgrade
  • Sanitize-wiki?
  • Upgrade T239814
  • Update-replication

Scripts:

  • Schema change helper
  • rolling_restart.py

Add ability to skip locking and to override locks using higher priority

Details

Related Changes in Gerrit:
Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
schema_change_helper: lock sections on one DC onlyrepos/sre/schema-changes!64fcerattoT423841main
Add zarclientrepos/sre/wmfmariadbpy!23fcerattoT416301-2main
rolling_restart: add zarcillo lockingrepos/data_persistence/dbtools/scripts!14fcerattoT423841-2main
Customize query in GitLab

Event Timeline

Change #1287378 had a related patch set uploaded (by Federico Ceratto; author: Federico Ceratto):

[operations/puppet@production] cumin: Install pydantic and httpx packages

https://gerrit.wikimedia.org/r/1287378

Change #1287378 abandoned by Federico Ceratto:

[operations/puppet@production] cumin: Install pydantic and httpx packages

Reason:

pydantic was installed in a different CR, httpx is not high priority now

https://gerrit.wikimedia.org/r/1287378