Page MenuHomePhabricator

Plan detailed migration for our revid / mapdata changes
Closed, ResolvedPublic0 Estimated Story Points

Description

Document:

  • Detailed steps for how we deploy
  • Any dependencies between steps
  • Rollback plan for each step
  • Assess risks
  • Split out the steps which are safe to take immediately, make tasks for these.

Draft:

StepHard dependenciesDeployment notesRollback notes
mapdata JS client passes revid parameter through to APINoneNo independent deployment, this is an in-repo dependency for Kartotherian and Kartographer.Rollback is atomic and implicit if Kartotherian or Kartographer is rolled back.
Kartotherian passes revid parameter through to mapdata client.mapdata clientNoneReverts to legacy "title" mode. Includes a feature flag to prevent pass-through in case we see problems.
mapdata API responds to revids.NoneNoneIf rolled back, revid requests will give strange results e.g. latest revision for the title.
Kartographer renders revid parameter in mapframes.Entire pipeline must be prepared.Must monitor cache size, hit ratios, API errors.Rendered pages cannot be rolled back without purging all articles.

So far, it looks like we want to add feature flags to Kartotherian and the Kartographer renderer. The server flag gives us a soft disable, it will intercept title+revid requests and downgrade them to legacy title-only requests before sending along to the mapdata API and rendering. The Kartographer flag is used to enable on pilot wikis, but is not easy to disable again.

Event Timeline

awight renamed this task from Plan detailed migration for our revid / mapdata changes to [stub] Plan detailed migration for our revid / mapdata changes.Oct 20 2021, 2:58 PM
awight updated the task description. (Show Details)
thiemowmde set the point value for this task to 3.Oct 27 2021, 8:43 AM

I think this belongs here. A non-technical overview of our suggested deployment roadmap for versioned maps: https://docs.google.com/presentation/d/1rYcE5suMj4oOWM5mDiUoblVckyIv1L_EjBSXqlVj23s

awight renamed this task from [stub] Plan detailed migration for our revid / mapdata changes to Plan detailed migration for our revid / mapdata changes.Nov 22 2021, 1:16 PM
WMDE-Fisch changed the point value for this task from 3 to 0.
awight claimed this task.
awight moved this task from Tech Review to Done on the WMDE-TechWish-Sprint-2021-11-24 board.