Fix uao_crash_compaction_column isolation2 test
The AO VACUUM on crash_before_cleanup_phase table was supposed to skip
AO VACUUM drop phase because session 3 above it had acquired an
AccessShareLock. However, the VACUUM is executed in background and the
next command ends session 3's transaction and releases the
AccessShareLock. This creates a race condition where AO VACUUM drop
phase is not skipped when session 3's transaction ends too quickly. We
fix the issue by ending session 3's transaction only after the VACUUM
has hit the fault injector that tells us it is about to do its cleanup
phase.
Co-authored-by: NDavid Kimura <dkimura@pivotal.io>
Showing
想要评论请 注册 或 登录