~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to database/schema/full-update.py

  • Committer: Stuart Bishop
  • Date: 2011-07-25 13:59:01 UTC
  • mto: (7675.1045.660 db-devel)
  • mto: This revision was merged to the branch mainline in revision 13516.
  • Revision ID: stuart.bishop@canonical.com-20110725135901-3dj9ybsvlngsnv25
delint

Show diffs side-by-side

added added

removed removed

Lines of Context:
115
115
        return 99
116
116
 
117
117
    # Confirm we can invoke PGBOUNCER_INITD
118
 
    pgbouncer_status_cmd = PGBOUNCER_INITD + ['status']
119
118
    pgbouncer_rc = run_pgbouncer(log, 'status')
120
119
    if pgbouncer_rc != 0:
121
120
        return pgbouncer_rc
182
181
            # Even if upgrade.py or security.py failed, we should be in
183
182
            # a good enough state to continue operation so restart
184
183
            # pgbouncer and allow connections.
185
 
            #  - upgrade.py may have failed to update the master, and 
 
184
            #  - upgrade.py may have failed to update the master, and
186
185
            #    changes should have rolled back.
187
186
            #  - upgrade.py may have failed to update a slave, breaking
188
187
            #    replication. The master is still operational, but