Univention Bugzilla – Bug 53731
ignore cn=temporary,cn=univention DN's in S4-Connector
Last modified: 2021-09-22 12:55:55 CEST
We should ignore lock objects in the S4-Connector listener. These objects aren't consumed by the S4-Connector and trigger a useless transaction. Patch: diff --git services/univention-s4-connector/s4-connector.py services/univention-s4-connector/s4-connector.py index 469aed304f..347f11307b 100644 --- services/univention-s4-connector/s4-connector.py +++ services/univention-s4-connector/s4-connector.py @@ -47,7 +47,7 @@ except ImportError: name = 's4-connector' description = 'S4 Connector replication' -filter = '(objectClass=*)' +filter = '(&(objectClass=*)(!(objectClass=lock)))' attributes = [] # type: List[str] # use the modrdn listener extension +++ This bug was initially created as a clone of Bug #48626 +++ With bug #48427 we are starting to store the transactions in a LDAP database. To reduce the number of write operations and the amount of disk space needed for the LDAP translog database, we should think about ignoring the temporary objects (cn=temporary,cn=univention) in the translog overlay.
Probably even: filter = '(&(objectClass=*)(!(objectClass=lock))(!(univentionLastUsedValue=*)))' to ignore all temporary objects.