ITS#8040 use NOMETASYNC for lazycommit

not NOSYNC. Might be configurable in the future, but we don't
really want to add more config options at present
This commit is contained in:
Howard Chu 2015-04-09 15:56:22 +01:00
parent 44f8642c0e
commit dcd0fd27f6

View file

@ -468,7 +468,7 @@ mdb_opinfo_get( Operation *op, struct mdb_info *mdb, int rdonly, mdb_op_info **m
} else {
int flag = 0;
if ( get_lazyCommit( op ))
flag |= MDB_NOSYNC;
flag |= MDB_NOMETASYNC;
rc = mdb_txn_begin( mdb->mi_dbenv, NULL, flag, &moi->moi_txn );
if (rc) {
Debug( LDAP_DEBUG_ANY, "mdb_opinfo_get: err %s(%d)\n",