[Erp5-report] r23621 - /erp5/trunk/products/ERP5Type/CopySupport.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Sep 15 17:36:58 CEST 2008
Author: seb
Date: Mon Sep 15 17:36:52 2008
New Revision: 23621
URL: http://svn.erp5.org?rev=23621&view=rev
Log:
thanks to Vincent commit explanation, add more comments
Modified:
erp5/trunk/products/ERP5Type/CopySupport.py
Modified: erp5/trunk/products/ERP5Type/CopySupport.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/CopySupport.py?rev=23621&r1=23620&r2=23621&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/CopySupport.py (original)
+++ erp5/trunk/products/ERP5Type/CopySupport.py Mon Sep 15 17:36:52 2008
@@ -355,8 +355,10 @@
# Set also many columns in order to make sure lines
# marked as deleted will not be selected
catalog.beforeUnindexObject(None,path=path,uid=uid)
- # Then start activty in order to remove lines in catalog,
+ # Then start activity in order to remove lines in catalog,
# sql wich generate locks
+ # - serialization_tag is used in order to prevent unindexation to
+ # happen before/in parallel with reindexations of the same object.
catalog.activate(activity='SQLQueue',
tag='%s' % uid,
serialization_tag=self.getRootDocumentPath()).unindexObject(None,
More information about the Erp5-report
mailing list