mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 00:59:45 -05:00
ITS#5261 quick fix, don't checkpoint on first write to DB
This commit is contained in:
parent
4be35d010a
commit
d38ff5403f
1 changed files with 6 additions and 2 deletions
|
|
@ -1607,8 +1607,12 @@ syncprov_op_response( Operation *op, SlapReply *rs )
|
|||
}
|
||||
if ( si->si_chktime &&
|
||||
(op->o_time - si->si_chklast >= si->si_chktime )) {
|
||||
do_check = 1;
|
||||
si->si_chklast = op->o_time;
|
||||
if ( si->si_chklast ) {
|
||||
do_check = 1;
|
||||
si->si_chklast = op->o_time;
|
||||
} else {
|
||||
si->si_chklast = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
ldap_pvt_thread_rdwr_wunlock( &si->si_csn_rwlock );
|
||||
|
|
|
|||
Loading…
Reference in a new issue