Merge pull request #9653 from trociny/wip-16245

rbd-mirror: FAILED assert(!m_status_watcher)

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
This commit is contained in:
Jason Dillaman 2016-06-14 06:55:10 -04:00 committed by GitHub
commit c49f70a6d3

View File

@ -599,7 +599,7 @@ void Replayer::set_sources(const ImageIds &image_ids)
return;
}
if (m_image_replayers.empty()) {
if (m_image_replayers.empty() && !existing_image_replayers) {
// create entry for pool if it doesn't exist
r = mirror_image_status_init();
if (r < 0) {