From dcd0fd27f648f224b4d9a9e22173cb28aafba848 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 9 Apr 2015 15:56:22 +0100 Subject: [PATCH] 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 --- servers/slapd/back-mdb/id2entry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- 2.39.5