Commit 4d1b48ec authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

ZSQLCatalog: force using READ COMMITTED isolation level in...

ZSQLCatalog: force using READ COMMITTED isolation level in getPathDictForUidList and getUidDictForPathList.

as they are only called at the beginning of indexation.
parent 7906233f
...@@ -1585,6 +1585,7 @@ class Catalog(Folder, ...@@ -1585,6 +1585,7 @@ class Catalog(Folder,
path=None, # BBB path=None, # BBB
path_list=path_list, path_list=path_list,
uid_only=False, # BBB uid_only=False, # BBB
isolation_level__='READ-COMMITTED',
) )
} }
...@@ -1599,6 +1600,7 @@ class Catalog(Folder, ...@@ -1599,6 +1600,7 @@ class Catalog(Folder,
uid=None, # BBB uid=None, # BBB
uid_list=uid_list, uid_list=uid_list,
path_only=False, # BBB path_only=False, # BBB
isolation_level__='READ-COMMITTED',
) )
} }
......
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