]> git.sur5r.net Git - openldap/commitdiff
ITS#8040 use NOMETASYNC for lazycommit
authorHoward Chu <hyc@openldap.org>
Thu, 9 Apr 2015 14:56:22 +0000 (15:56 +0100)
committerHoward Chu <hyc@openldap.org>
Thu, 9 Apr 2015 14:56:22 +0000 (15:56 +0100)
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

index 3824b7d1e300e4913e4e1281e19af96d4b966ba8..4792d6fff46d6c8f926be31a30316b41b50006ea 100644 (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",