The major versions of the program are all released in the first week of December, how to stagger the upgrade window?
The program major versions are all released in the week of December, how to stagger the upgrade window? First, look at the day's perspective: The Drupal core scheduling page indicates that the 12th version will be released in the week of December 7th, at the same time, the 10th version will reach the disable date on December 9th, and the page also specifically points out that these two events are in the same week; The WordPress release page indicates that version 7.2 will be officially released on December 8th. The key to staggering is not to pick a 'good day', but to group the sites according to the exposed surface, push them in batches, and leave out a re-examination time between each batch.
Two things in December coincide in the same week
The release of a new major version means changes in functionality and theme updates, the deactivation of old branches means that no further repairs will be made thereafter. When both are implemented at the same time, the actions of the site are actually two types: one is whether to upgrade to a new version, and the other is to leave the old version. The former can be evaluated calmly, and the latter has a firm deadline. Mixing them in a weekend increases the risk of verification overlap - on the same day, there is both a major version switch and a deactivation migration, and it is unclear which type of change caused the problem.
Why do upgrades at the same time interfere with each other
The occupation occurs in three places. In terms of manpower, the same group of people needs to do data backup, template adaptation, and content verification at the same time; in terms of verification, each site needs to run the core process once, and the verification window only makes sense for 24 to 48 hours; in terms of rollback, if multiple sites share a machine or the same deployment, a failure at one place will drag other sites back to the old version. Business factors are also叠加 at the end of the year: marketing activities and order peaks are usually arranged in December, and businesses that cannot be stopped will compress maintenance time accordingly.
The scheduling method of phased advancement
First classify the sites, and then advance in batches.
| Batch | Site type | Action | Verification requirements |
|---|---|---|---|
| The first batch | Display type, no login, no transaction | First do the migration of the disabled branch | Page rendering and site map can be crawled as soon as possible |
| Second batch | With form or member login | Migration plus compatibility verification | Login, submit, and message three processes in order |
| Third batch | Transaction and main station | Determine according to the major version situation, you can stop first at the supported branch | The full process related to order and payment must cover all aspects, and the rollback points must be practiced. |
| The fourth batch | Testing and internal sites | New features used to verify the major version | The conclusion is written into the plan for the next year |
The schedule must reserve two buffers: at least one working day between batches, and the last batch must not be pressed after the disabled day. The major version itself is left for batches after the first batch to evaluate, to avoid dealing with two things at the same time during the same week.
How to group multiple sites without disrupting business
Site management is a prerequisite for batching: when managing multiple sites with one backend, the upgrade status between sites must be clearly distinguishable, otherwise the sentence 'only move two sites' cannot be executed. The dimension of grouping is recommended to be based on exposure surface rather than business department - anonymous accessible pages should be moved first, followed by pages that require an account, and finally, pages involving funds
Use time-limited release on the content side: Schedule the online time of year-end marketing content outside of the batch window to avoid the overlapping scenario of 'just upgraded pages and batch releases'; hold down the drafts that are already in the draft release state before the batch re-inspection passes
The deployment method determines the rollback speed. For Docker image deployment, rollback refers to rolling back to the previous tag and pulling up again; for deployment using Baota panel or LNMP commands, rollback involves the database and static files, so it is necessary to confirm the availability of backups before each batch starts, not just for the first batch.
Common questions
Can we skip the old branch and upgrade directly to the latest major version?Yes, but do one thing at a time: first solve the shutdown issue, and leave the new features of the major version to the next batch for evaluation, as mixing them in the same batch can cause the rollback scope to be out of control.
What will happen if we do not upgrade after the shutdown date?The site can still run, but there will be no more repairs from now on, new vulnerabilities will not be fixed by anyone, the risk accumulates over time, and it is not suitable for long-term stay.
Should the small site also be divided into four batches?Not necessary. For a single site, you can follow the three steps of 'backup and practice first, then migration, and finally verification' and it is sufficient. The value of batching only manifests in multi-site scenarios.