Until PHP 5.6, write() is called regardless of whether anything changed. We should detect changes and no-op if there's nothing to do. This is useful for multi-DC sessions to cut writes down to a trickle (nearly all in the hot DC).
Description
Description
Details
Details
Subject | Repo | Branch | Lines /- | |
---|---|---|---|---|
Avoiding writing sessions for no reason | mediawiki/core | master | 27 -7 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | aaron | T88445 MediaWiki active/active datacenter investigation and work (tracking) | |||
Resolved | aaron | T88635 ObjectCacheSessionHandler should avoid pointless writes in write() |
Event Timeline
Comment Actions
Change 188721 had a related patch set uploaded (by Aaron Schulz):
Avoiding writing sessions for no reason