[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#4567) delta-syncrepl broken in cascade setup

Full_Name: Howard Chu
Version: 2.3.23
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (
Submitted by: hyc

Delta syncrepl relies on the accesslog, which generates log entries named by the
timestamp of each logged Operation. The syncrepl consumer reuses a single
Operation struct for all of its updates, and doesn't update the timestamp for
successive updates, so only the first Operation in a syncrepl session gets
logged. The rest fail with LDAP_ALREADY_EXISTS. The fix is to call slap_op_time
before each individual update. This will be fixed in HEAD shortly.