c.l.w.d.ReadOnlyLaunchpadDatabasePolicy(BaseDatabasePolicy) : class documentation

Part of canonical.launchpad.webapp.dbpolicy View In Hierarchy

Policy for Launchpad web requests when running in read-only mode.

Access to all master Stores is blocked.

Method getStore See IDatabasePolicy.

Inherited from BaseDatabasePolicy:

Method __init__ Undocumented
Method install See IDatabasePolicy.
Method uninstall See IDatabasePolicy.
Method __enter__ See IDatabasePolicy.
Method __exit__ See IDatabasePolicy.
def getStore(self, name, flavor):
See IDatabasePolicy.

Access to all master Stores is blocked. The default Store is the slave.

Note that we even have to block access to the authdb master Store, as it allows access to tables replicated from the lpmain replication set. These tables will be locked during a lpmain replication set database upgrade.

API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.