Bug 33732 - Listener cache inhibits replication
Listener cache inhibits replication
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Listener (univention-directory-listener)
UCS 3.2
Other Linux
: P5 normal (vote)
: UCS 3.2-0-errata
Assigned To: Arvid Requate
Stefan Gohmann
:
Depends on: 33731
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-11 16:41 CET by Sönke Schwardt-Krummrich
Modified: 2014-01-22 11:52 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2013-12-11 16:41:39 CET
+++ This bug was initially created as a clone of Bug #33731 +++

On a DC backup and a DC slave an inconsistency between ldap content and listener cache occurred. After calling univention-replicate-one the listener checked the upstream object against the listener cache and jumped to the next transaction because according to the cache the system was up-to-date:

11.12.13 15:29:05.335  LISTENER    ( ALL     ) : handler: replication considered
11.12.13 15:29:05.335  LISTENER    ( INFO    ) : handler: replication (up-to-date)

The listener should always pass the retrieved object to the replication module - no matter if the listener cache has already seen this object.
Comment 1 Arvid Requate univentionstaff 2013-12-19 15:26:44 CET
The exception for the replication module has already been implemented for errata 3.1-0 but it was ineffective due to a logic flaw.

Advisory: 2013-12-19-univention-directory-listener.yaml
Comment 2 Stefan Gohmann univentionstaff 2014-01-08 10:36:03 CET
I've added a test case to ucs-test for this issue: 10_ldap/48replication_listener_cache_up_to_date_check

YAML: OK
Comment 3 Moritz Muehlenhoff univentionstaff 2014-01-22 11:52:27 CET
http://errata.univention.de/ucs/3.2/26.html