Commit a2c7736c authored by Yoni Fogel's avatar Yoni Fogel

closes #5152 removed NOSYNC from automatically created txns where it made no sense.

If they're children, they're nosync anyway
If they're not children, they're usually unsafe

git-svn-id: file:///svn/toku/tokudb@46160 c7de825b-a66e-492c-adef-691d508d4ae1
parent c527ba29
......@@ -1012,7 +1012,7 @@ locked_load_inames(DB_ENV * env, DB_TXN * txn, int N, DB * dbs[/*N*/], char * ne
DB_TXN *child_txn = NULL;
int using_txns = env->i->open_flags & DB_INIT_TXN;
if (using_txns) {
ret = toku_txn_begin(env, txn, &child_txn, DB_TXN_NOSYNC);
ret = toku_txn_begin(env, txn, &child_txn, 0);
invariant_zero(ret);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment