[Neo-report] r2257 vincent - /trunk/neo/storage/replicator.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Sat Aug 28 10:29:32 CEST 2010
Author: vincent
Date: Sat Aug 28 10:29:32 2010
New Revision: 2257
Log:
Avoid requesting unfinished TID list over and over (fixes r2207).
Modified:
trunk/neo/storage/replicator.py
Modified: trunk/neo/storage/replicator.py
==============================================================================
--- trunk/neo/storage/replicator.py [iso-8859-1] (original)
+++ trunk/neo/storage/replicator.py [iso-8859-1] Sat Aug 28 10:29:32 2010
@@ -263,13 +263,13 @@ class Replicator(object):
min_unfinished_tid = min(self.unfinished_tid_list)
else:
min_unfinished_tid = None
- self.unfinished_tid_list = None
for partition in self.partition_dict.values():
if partition.safe(min_unfinished_tid):
self.current_partition = partition
break
else:
# Not yet.
+ self.unfinished_tid_list = None
logging.debug('not ready yet')
return
More information about the Neo-report
mailing list