• A
    Add new fault injector to make the transaction management test more stable. · 5b6fcda5
    Abhijit Subramanya 提交于
    The fault `twophase_transaction_commit_prepared` would cause the segment to
    PANIC while writing a `COMMIT PREPARED` record on the segment. The master would
    then retry the `COMMIT PREPARED` while the postmaster was still resetting on the
    segment causing the master itself to `PANIC`. This patch introduces a new fault
    injector `finish_prepared_before_commit`  which will not cause a `PANIC`, but
    just error out since the intent of the test is to ensure that the retry works
    correctly.
    5b6fcda5
twophase.c 71.3 KB