From: Howard Chu Date: Thu, 9 Apr 2015 14:56:22 +0000 (+0100) Subject: ITS#8040 use NOMETASYNC for lazycommit X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dcd0fd27f648f224b4d9a9e22173cb28aafba848;p=openldap 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 --- diff --git a/servers/slapd/back-mdb/id2entry.c b/servers/slapd/back-mdb/id2entry.c index 3824b7d1e3..4792d6fff4 100644 --- a/servers/slapd/back-mdb/id2entry.c +++ b/servers/slapd/back-mdb/id2entry.c @@ -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",