-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
Fully Compatible
-
ALL
-
v4.0
-
STM 2018-12-31, STM 2019-01-14
-
0
-
2
The dbHash command is run inside of a transaction in run_check_repl_dbhash_background.js on each node in the test's replica set. When committing the transactions, we will iterate over each session (one per node) and call commitTransaction. If any of these calls throws an error, we catch the error and iterate over each session to try to abort each transaction. But if any transaction was already successfully committed, trying to abort it errors with:
Error: Cannot call abortTransaction after calling commitTransaction. :
We should only try to abort transactions that are still active.
- is duplicated by
-
SERVER-38853 run_check_repl_dbhash_background.js should ignore abortTransaction errors
- Closed