Avoid unnecessary restarts for replication

Bug #1368419 reported by Morgan Jones
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
Medium
Morgan Jones

Bug Description

When a slave is attached to a master, the master site is configured as a master and restarted. This is unnecessary if the master site already has a slave attached (and therefore binary logging is already enabled). Avoid restarting the master in such cases.

Morgan Jones (6-morgan)
Changed in trove:
assignee: nobody → Morgan Jones (6-morgan)
Denis M. (dmakogon)
Changed in trove:
status: New → Confirmed
importance: Undecided → Medium
Changed in trove:
milestone: none → juno-rc1
Changed in trove:
status: Confirmed → Triaged
Revision history for this message
Nikhil Manchanda (slicknik) wrote :

Spoke to Morgan regarding this, and we're good with moving it out to Kilo since it's not critical.

Changed in trove:
milestone: juno-rc1 → kilo-1
Revision history for this message
Nikhil Manchanda (slicknik) wrote :

Hi Morgan -- any updates on this?

Changed in trove:
milestone: kilo-1 → kilo-2
Changed in trove:
milestone: kilo-2 → kilo-3
Changed in trove:
milestone: kilo-3 → ongoing
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (master)

Fix proposed to branch: master
Review: https://review.openstack.org/169890

Changed in trove:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove (master)

Reviewed: https://review.openstack.org/169890
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=267a81625f46ad9dd6d0f2ad6fe516c86820c9df
Submitter: Jenkins
Branch: master

commit 267a81625f46ad9dd6d0f2ad6fe516c86820c9df
Author: Morgan Jones <email address hidden>
Date: Wed Apr 1 15:16:35 2015 -0400

    Avoid unnecessary restart of replication master

    Eliminates the unnecessary restart of the master site
    in a replication set when a new slave is added to a
    previously existing master site.

    Also removed some dead code.

    Change-Id: Ia76cca5cb084270c45ce782b7cecc3e17f8402d8
    Closes-bug: #1368419

Changed in trove:
status: In Progress → Fix Committed
Changed in trove:
milestone: ongoing → kilo-rc1
Thierry Carrez (ttx)
Changed in trove:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in trove:
milestone: kilo-rc1 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.