[NEW PATCH] BZ#732275 - Stop all repoStats threads that were started during reconstructMaster. (via gerrit-bot)
Igor Lvovsky
ilvovsky at redhat.com
Sun Sep 4 14:07:02 UTC 2011
New patch submitted by Igor Lvovsky (ilvovsky at redhat.com)
You can review this change at: http://gerrit.usersys.redhat.com/894
commit 757d7a2c47f2b3d964afcd6975cedc0b8cd14cba
Author: Igor Lvovsky <ilvovsky at redhat.com>
Date: Thu Sep 1 11:20:26 2011 +0300
BZ#732275 - 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
More information about the vdsm-patches
mailing list