Before the Next Deploy Overwrites a Setting an Operator Changed by Hand
Comparing only the live value and the next release value tells you nothing about who meant to change what. Compare three values, including the last applied one, then adopt or retire the manual fix, re-check right before execution, and verify after rollout.
At 2 p.m., an external integration slowed down, and an operator raised the timeout from 3 seconds to 8. The incident settled. At 10 p.m. the scheduled release arrives, and it sets the same value to 5 seconds. Which value should the automation use?
To decide whether the next deploy should overwrite a setting changed by hand in production, compare three values: the live server value, the next release value, and the value last approved and applied.
Why three values instead of two?
With only the 8 seconds read from the server and the 5 seconds in the release, you can't tell who meant to change what. Add the value that was last approved and actually applied, and the picture changes. If it was 3 seconds, the field team and the next release both changed the same item in different directions. Kubernetes declarative configuration management also uses three inputs when computing a patch: the last applied configuration, the live configuration, and the new configuration. The same lens works for reviewing settings on VMs.
| Item | Last applied | Live server | Next release | Decision for the operator |
|---|---|---|---|---|
| External response timeout | 3s | 8s | 5s | Changed on both sides. Review the incident rationale together with the new target |
| Log level | INFO | DEBUG | INFO | Changed only in the field. Confirm when diagnostics end |
| Concurrent jobs | 4 | 4 | 6 | Server matches baseline. Approved change can be applied |
Why does "revert" cause confusion?
If 8 seconds is still needed, record the reason, put 8 seconds into the managed config, and approve it. If the temporary fix is over and 5 seconds is this release's target, apply 5 seconds. Saying only "revert" invites confusion. Reverting to the pre-incident value means 3 seconds. Applying the planned release means 5. Write down the value being approved and why it was chosen.
What do you check right before and after rollout?
There's one more check right before execution. You might review the differences at 8 p.m., and then a field operator changes the setting again at 9. If the change only applies while the live value still matches the 8 seconds you reviewed, you'll catch anything that slipped in between. After rollout, don't stop at reading the file. Confirm which value the running process is actually using. Re-reading state immediately before acting is the same idea behind not running a deploy twice after a lost response.
What operations teams want isn't a screen that turns every manual change into an alert. It's a way to see in advance which items the next deploy will overwrite, and to either adopt an emergency fix as official config or retire it. With that record in place, the next incident's "why was only this server at 8 seconds?" has an answer.
- #deployment
- #configuration
- #change-management
- #sre
- #vm