You are viewing a plain text version of this content. The canonical link for it is here.
Posted to tashi-commits@incubator.apache.org by mr...@apache.org on 2009/01/22 16:43:29 UTC
svn commit: r736699 -
/incubator/tashi/trunk/src/tashi/clustermanager/data/pickled.py
Author: mryan3
Date: Thu Jan 22 08:43:28 2009
New Revision: 736699
URL: http://svn.apache.org/viewvc?rev=736699&view=rev
Log:
Bug fix to make saving pickled data work correctly after a cluster manager reload
Previously, these objects contained locks, which prevented them from being pickled
Modified:
incubator/tashi/trunk/src/tashi/clustermanager/data/pickled.py
Modified: incubator/tashi/trunk/src/tashi/clustermanager/data/pickled.py
URL: http://svn.apache.org/viewvc/incubator/tashi/trunk/src/tashi/clustermanager/data/pickled.py?rev=736699&r1=736698&r2=736699&view=diff
==============================================================================
--- incubator/tashi/trunk/src/tashi/clustermanager/data/pickled.py (original)
+++ incubator/tashi/trunk/src/tashi/clustermanager/data/pickled.py Thu Jan 22 08:43:28 2009
@@ -38,6 +38,9 @@
ci = {}
for i in self.instances.itervalues():
i2 = Instance(d=i.__dict__)
+ i2.hostObj = None
+ i2.typeObj = None
+ i2.userObj = None
ci[i2.id] = i2
return ci