Skip to content
Snippets Groups Projects
Commit e54078f3 authored by Simon Künzel's avatar Simon Künzel
Browse files

Make sorter transaction REPEATABLE_READ

parent 461645d1
No related branches found
No related tags found
No related merge requests found
...@@ -292,6 +292,8 @@ def execute(database, own_job_id, input_data: CJsonObject): ...@@ -292,6 +292,8 @@ def execute(database, own_job_id, input_data: CJsonObject):
try: try:
database.execute_write_transaction_and_commit( database.execute_write_transaction_and_commit(
_sort_file, own_job_id, db_path, on_transaction_failure, _sort_file, own_job_id, db_path, on_transaction_failure,
isolation_level=TransactionIsolationLevel.REPEATABLE_READ
# Repeatable read as serializable often causes serialization conflicts
) )
except Exception: except Exception:
if on_transaction_failure.func is not None: if on_transaction_failure.func is not None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment