fix(import): подтвердить обязательные гарантии второго эпика
This commit is contained in:
1 parent
31f6f00d3b
commit
ad23cd9a46
33 files changed
+3328
-18
No files matched your search
@@ -354,7 +354,11 @@ impl PostgresRegistry {
|
||||
let outcome = apply_import_plan_transaction(&mut transaction, request).await;
|
||||
match outcome {
|
||||
Ok((replayed, report)) => {
|
||||
#[cfg(debug_assertions)]
|
||||
crank_artifacts::test_support::crash_if_checkpointed("apply_before_commit");
|
||||
transaction.commit().await?;
|
||||
#[cfg(debug_assertions)]
|
||||
crank_artifacts::test_support::crash_if_checkpointed("apply_after_commit");
|
||||
Ok(ApplyImportPlanResult { replayed, report })
|
||||
}
|
||||
Err(ApplyTxFailure::KeyConflict) => {
|
||||
|
||||
Reference in new issue
Block a user