You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
adapter: gracefully handle newer versions in migration shard
Prior to this change, if the leader environment restarted either during
an in-progress 0dt upgrade or after an aborted one, it would fail to
come up if that 0dt upgrade caused builtin item migrations to occur. The
new version would poison the migration shard, and the old version would
halt itself upon reading it.
This commit applies the minimal fix: When performing builtin item
migrations in leader mode, we now ignore the existence of newer versions
in the migration shard, instead of crashing upon observing them.
Read-only processes still crash upon observing newer versions.
This change is meant to derisk subsequent releases before the rewrite of
the builtin item migrations lands. In contrast to that rewrite, this
change is small enough to be backported into previous versions, so we
can deploy it prior to the next release that requires migrations to
occur.
0 commit comments