Move callers to "db-replicated" or the WAN cache that can avoid using $wgMainStash.
Only non-sessions things that need very fast and DC-replicated stores should keep using it for now.
- Gerrit patches: https://gerrit.wikimedia.org/r/#/q/message:T227376