Page MenuHomePhabricator

Some database writes made when read-only mode is on
Closed, ResolvedPublic

Description

A number of things try to write to the database when read-only mode is on. This can produce
annoying error messages when attached to a really read-only database that's locked, or can cause
data corruption if you're simply implicitly assuming the wiki will not write.

The user_newtalk expiration check on login is one example. Other expirations (objectcache,
ipblocks) should be checked also, and there may be others.


Version: unspecified
Severity: normal

Details

Reference
bz762

Related Objects

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 7:00 PM
bzimport set Reference to bz762.
bzimport added a subscriber: Unknown Object (MLST).

1.4.0 released; kicking back to 1.5 blockers.

The database class now silently drops all write attempts when read-only mode is on.