mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08: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
@ -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 New Issue
Block a user