https://bugs.openldap.org/show_bug.cgi?id=9641

          Issue ID: 9641
           Summary: accesslog when logging failed operations interferes
                    with deltasync
           Product: OpenLDAP
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: replication
          Severity: normal
          Priority: ---
         Component: slapd
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Take delta-MPR setup and accesslog configured with logsuccess off. We encounter
a conflicting write (one that fails to apply in the DB) and fall back to plain
syncrepl. Since we are configured to log that write, syncprov sees it (it is a
failure, so doesn't match filter, which should contain reqResult=0) and sends a
LDAP_SYNC_NEW_COOKIE with that CSN to our delta-consumers. While we apply this
write locally in the fallback session, the consumers will skip what they see as
a duplicate and lose the change.

My understanding is that for failed operations, we should ignore the CSN we
received with the operation and instead set up a new one (with our own sid).

-- 
You are receiving this mail because:
You are on the CC list for the issue.

Reply via email to