Commit e0d172a5 authored by Sebastien Robin's avatar Sebastien Robin

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
parent b2a078aa
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment