From e0d172a5d4b578379462f6841ecc8a01c1c2e4d1 Mon Sep 17 00:00:00 2001
From: Sebastien Robin <seb@nexedi.com>
Date: Mon, 15 Sep 2008 15:36:52 +0000
Subject: [PATCH] thanks to Vincent commit explanation, add more comments

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23621 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Type/CopySupport.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/product/ERP5Type/CopySupport.py b/product/ERP5Type/CopySupport.py
index 17e49467b4..97c759c17f 100644
--- a/product/ERP5Type/CopySupport.py
+++ b/product/ERP5Type/CopySupport.py
@@ -355,8 +355,10 @@ class CopyContainer:
           # 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, 
-- 
2.30.9