diff options
-rw-r--r-- | jstests/sharding/restart_transactions.js | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/jstests/sharding/restart_transactions.js b/jstests/sharding/restart_transactions.js index d1f505b1d9c..ddebf3ea501 100644 --- a/jstests/sharding/restart_transactions.js +++ b/jstests/sharding/restart_transactions.js @@ -157,15 +157,12 @@ const shardDB = shardSession.getDatabase(shardDBName); runTest(st.s.getDB(shardDBName), shardDB); -// TODO SERVER-36632: Consider allowing commands in a transaction to run against the config or -// admin databases, excluding special collections. -// // Directly connect to the config sever primary to simulate internal retries by mongos. -// const configDBName = "config"; -// const configSession = st.configRS.getPrimary().startSession({causalConsistency: false}); -// const configDB = configSession.getDatabase(configDBName); -// -// runTest(st.s.getDB(configDBName), configDB); +const configDBName = "config"; +const configSession = st.configRS.getPrimary().startSession({causalConsistency: false}); +const configDB = configSession.getDatabase(configDBName); + +runTest(st.s.getDB(configDBName), configDB); st.stop(); })(); |