vinyl: use ERROR_INJECT_COUNTDOWN where appropriate
ERRINJ_VY_RUN_OPEN and ERRINJ_VY_STMT_ALLOC are countdown injections. Let's name them appropriately and use the helper macro. Also, let's raise the ER_INJECTION error code for them to make it clear that they aren't real errors. NO_DOC=internal NO_CHANGELOG=internal (cherry picked from commit 21fe14582c948f560720fa285ed3e21483d11dc2)
Showing
- src/box/vy_run.c 2 additions, 2 deletionssrc/box/vy_run.c
- src/box/vy_stmt.c 5 additions, 10 deletionssrc/box/vy_stmt.c
- src/lib/core/errinj.h 2 additions, 2 deletionssrc/lib/core/errinj.h
- test/vinyl/errinj_recovery.lua 2 additions, 2 deletionstest/vinyl/errinj_recovery.lua
- test/vinyl/gh-4805-open-run-err-recovery.result 1 addition, 1 deletiontest/vinyl/gh-4805-open-run-err-recovery.result
- test/vinyl/gh-4805-open-run-err-recovery.test.lua 1 addition, 1 deletiontest/vinyl/gh-4805-open-run-err-recovery.test.lua
- test/vinyl/gh-4864-stmt-alloc-fail-compact.result 6 additions, 6 deletionstest/vinyl/gh-4864-stmt-alloc-fail-compact.result
- test/vinyl/gh-4864-stmt-alloc-fail-compact.test.lua 6 additions, 6 deletionstest/vinyl/gh-4864-stmt-alloc-fail-compact.test.lua
Loading
Please register or sign in to comment