https://bugzilla.wikimedia.org/show_bug.cgi?id=28051

Tim Starling <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|                            |WONTFIX

--- Comment #1 from Tim Starling <[email protected]> 2011-03-15 00:41:52 
UTC ---
There are important caveats involving reading from slave servers. We expose the
master/slave distinction in the interface to ensure that developers writing
calling code are aware of the distinction. 

For instance, it is not generally possible to read data from a slave server and
then to write it to memcached, because the stale data would be cached
indefinitely. It's necessary to either do such read queries against the master,
or to check the data returned by the slave for freshness using a separate query
against the master.

The flag would need to be set not just in exceptional cases, but in large
amounts of code that depends on transactions and consistent reads in order to
do accurate write queries. Saving the flag in object state with wfGetDB(),
instead of providing it separately for each query, makes such code simpler and
less prone to errors.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to