mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
In mdb_checkpoint, force sync
Otherwise this is a no-op in various NOSYNC/MAPASYNC situations
This commit is contained in:
parent
b03ce7af6c
commit
3b272b43dc
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ mdb_checkpoint( void *ctx, void *arg )
|
|||
struct re_s *rtask = arg;
|
||||
struct mdb_info *mdb = rtask->arg;
|
||||
|
||||
mdb_env_sync( mdb->mi_dbenv, 0 );
|
||||
mdb_env_sync( mdb->mi_dbenv, 1 );
|
||||
ldap_pvt_thread_mutex_lock( &slapd_rq.rq_mutex );
|
||||
ldap_pvt_runqueue_stoptask( &slapd_rq, rtask );
|
||||
ldap_pvt_thread_mutex_unlock( &slapd_rq.rq_mutex );
|
||||
|
|
|
|||
Loading…
Reference in a new issue