Bug 27938 - Replikation defekt nach backup2master einer Appliance, auf der Bug #27834 aktiv war
Replikation defekt nach backup2master einer Appliance, auf der Bug #27834 akt...
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: LDAP
UCS 3.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
:
Depends on: 27834
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-16 16:58 CEST by Arvid Requate
Modified: 2018-04-14 13:44 CEST (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 (downgraded) after PO Review:
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 Arvid Requate univentionstaff 2012-07-16 16:58:28 CEST
Durch Bug #27834 schreiben u.a. UCS Backup Systeme, die mit UCS 3.0-0 oder UCS 3.0-1 als Appliance aufgesetzt wurden in die Datei /var/lib/univention-ldap/last_id ungültige Transaktionsnummern. Wenn dann auf einem solchen System backup2master aufgerufen wird, dann findet das translog overlay als erstes diese Datei und basiert seine weitere Zählung auf dieser (zu kleinen) ID statt die letzte Zahl aus dem translog zu verwenden (die in meinem Testsystem korrekt gewesen wäre). Dadurch ist die Replikation weiterer Änderungen mittelfristig inkonsistent.

Vielleicht sollte univention-backup2master entweder die Datei löschen und ggf. auch prüfen, dass die letzte Zahl in der transaction Datei nicht kleiner als die lokale notifier_id ist. Sonst wäre vermutlich eine deutliche Warnung sinnvoll.



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

Auf einem UCS 3.0-1 errata91 Slave in der KVM Testumgebung war das translog
Overlay aktiviert und unter /var/lib/univention-ldap/last_id wurde entsprechend
eine zweite Transaktionszählung geführt, die von der des Masters detulich
abwich. Ursache war, dass in UCR

 ldap/translogfile="/var/lib/univention-ldap/listener/listener"

gesetzt war. Ggf. ist das ein Artefakt von System Setup Base, dass die
Rückstufung Master -> Slave nicht vollständig durchführt?
Comment 1 Stefan Gohmann univentionstaff 2017-06-16 20:36:54 CEST
This issue has been filed against UCS 3. UCS 3 is out of the normal maintenance and many UCS components have vastly changed in UCS 4.

If this issue is still valid, please change the version to a newer UCS version otherwise this issue will be automatically closed in the next weeks.
Comment 2 Stefan Gohmann univentionstaff 2017-08-08 07:07:51 CEST
This issue has been filed against UCS 3.0.

UCS 3.0 is out of maintenance and many UCS components have vastly changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen this issue. In this case please provide detailed information on how this issue is affecting you.