New patch submitted by Igor Lvovsky (ilvovsky(a)redhat.com)
You can review this change at:
http://gerrit.usersys.redhat.com/894
commit 8dd633ccdc1f81c0adf5d2185b7dfad17b4ff75c
Author: Igor Lvovsky <ilvovsky(a)redhat.com>
Date: Thu Sep 1 11:20:26 2011 +0300
Related to BZ#705058 - Stop all repoStats threads that were started during
reconstructMaster
Change-Id: I8e1539ca7ebe75b1d47ef27ace8325265372fae6
diff --git a/vdsm/storage/sp.py b/vdsm/storage/sp.py
index 440a86a..014da1e 100644
--- a/vdsm/storage/sp.py
+++ b/vdsm/storage/sp.py
@@ -482,6 +482,8 @@ class StoragePool:
self.setMetaParam(PMDK_DOMAINS, domains)
self.log.info("Set storage pool domains: %s", domains)
finally:
+ # We need stop all repoStats threads that were started during
reconstructMaster
+ self.disconnectDomains()
futureMaster.releaseClusterLock()
finally:
self.id = None