Merge lp://staging/~stub/launchpad/replication into lp://staging/launchpad/db-devel
Proposed by
Stuart Bishop
Status: | Merged | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Approved by: | Aaron Bentley | ||||||||||||||||||||||||||||||||||||
Approved revision: | not available | ||||||||||||||||||||||||||||||||||||
Merged at revision: | not available | ||||||||||||||||||||||||||||||||||||
Proposed branch: | lp://staging/~stub/launchpad/replication | ||||||||||||||||||||||||||||||||||||
Merge into: | lp://staging/launchpad/db-devel | ||||||||||||||||||||||||||||||||||||
Diff against target: |
196 lines (+106/-19) 7 files modified
daemons/cache-database-replication-lag.py (+53/-0) database/replication/helpers.py (+1/-0) database/schema/comments.sql (+4/-0) database/schema/patch-2207-28-1.sql (+9/-0) database/schema/security.cfg (+6/-0) database/schema/trusted.sql (+22/-0) lib/canonical/launchpad/webapp/dbpolicy.py (+11/-19) |
||||||||||||||||||||||||||||||||||||
To merge this branch: | bzr merge lp://staging/~stub/launchpad/replication | ||||||||||||||||||||||||||||||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Aaron Bentley (community) | Approve | ||
Review via email: mp+18698@code.staging.launchpad.net |
Commit message
an alternative approach of stopping the appservers from getting blocked when they check replication lag under high load.
To post a comment you must log in.
The fix to Bug #504696 fails on production, despite passing testing locally and on staging and I'm unable to reproduce.
This branch implements an alternative approach of stopping the appservers from getting blocked when they check replication lag under high load.
The database patch, stored procedures and permissions have been applied to production in case we want to test this on edge while I'm unavailable.