Bug 39958 - Listener cache and handler initialization
Listener cache and handler initialization
Product: UCS
Classification: Unclassified
Component: Listener (univention-directory-listener)
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.0-4-errata
Assigned To: Philipp Hahn
Stefan Gohmann
Depends on: 39957
  Show dependency treegraph
Reported: 2015-11-15 21:06 CET by Stefan Gohmann
Modified: 2015-11-19 12:29 CET (History)
1 user (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:
Flags outvoted after Product Owner Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2015-11-15 21:06:48 CET
Backport for UCS 4.0

+++ This bug was initially created as a clone of Bug #39957 +++

The listener has the feature that a sync is not executed if the listener is in the initialize mode, for example:
    if ( !INIT_ONLY ) {
        dbp->sync(dbp, 0);

That makes a join very fast.

If a module is installed at a later point or the initialization of a module has to be done again or at a later point, a sync is done after adding or removing every single entry.

If a handler is initialized, the sync should be done only at the end of the initialization.
Comment 1 Philipp Hahn univentionstaff 2015-11-18 14:11:34 CET
r65699 | Bug #39958 listener: Disable DB sync while initializing module 2
r65698 | Bug #39958 listener: Disable DB sync while initializing module

Package: univention-directory-listener
Version: 9.0.2-8.288.201511181406
Branch: ucs_4.0-0
Scope: errata4.0-4

r65700 | Bug #39958 listener: Disable DB sync while initializing module YAML

RFC: also 4.0-3?
    "4.0-3": {
      "expire": "2015-12-22", 
      "release": "2015-08-11"
Comment 2 Stefan Gohmann univentionstaff 2015-11-18 16:04:17 CET
Code review: OK


Test upgrade: OK (Master, Backup, Slave, Member)

Re-join: OK

Replication test: OK
Comment 3 Janek Walkenhorst univentionstaff 2015-11-19 12:29:46 CET