← Back to team overview

launchpad-dev team mailing list archive

Re: Connections left open after switching to read only mode

 

On 05/08/2010 07:34 PM, Stuart Bishop wrote:

Hmm... yeah. All the DatabasePolicies would need to know about RO
mode, which sucks. Instead, we could just do this in the
IStoreSelector - if read-only mode is detected, ignore any installed
DatabasePolicy and return the read-only Stores.

Would it make sense (and help) to keep existing read-write connections alive, but make them begin only read-only transactions when read-only mode is detected?


Jeroen



Follow ups

References