diff --git a/tools/db_crashtest.py b/tools/db_crashtest.py index 5e889e31f..e13fd45c8 100644 --- a/tools/db_crashtest.py +++ b/tools/db_crashtest.py @@ -485,6 +485,10 @@ def finalize_and_sanitize(src_params): dest_params["delpercent"] += dest_params["delrangepercent"] dest_params["delrangepercent"] = 0 dest_params["ingest_external_file_one_in"] = 0 + # Correctness testing with unsync data loss is not currently compatible + # with transactions + if (dest_params.get("use_txn") == 1): + dest_params["sync_fault_injection"] = 0 if (dest_params.get("disable_wal") == 1 or dest_params.get("sync_fault_injection") == 1): # File ingestion does not guarantee prefix-recoverability when unsynced