Maintenance mode, read the same way.
State::set() writes through to key_value immediately (State.php:97-113 calls $this->keyValueStore->set() before touching its cache), so this sees a value PHP set in the previous beat without going near cache_bootstrap.
State::set()
key_value
$this->keyValueStore->set()
cache_bootstrap
null when absent or unparseable, which the gate refuses
Maintenance mode, read the same way.
State::set()writes through tokey_valueimmediately (State.php:97-113 calls$this->keyValueStore->set()before touching its cache), so this sees a value PHP set in the previous beat without going nearcache_bootstrap.