Univention Bugzilla – Bug 49872
After pruning the transaction file, the Index.okay in transaction.index is 'no'
Last modified: 2019-09-11 15:25:26 CEST
Debugging and fixing a translog issue, after the final rebuild the output of /usr/share/univention-directory-notifier/univention-translog stat shows: Index.file: /var/lib/univention-ldap/notify/transaction.index Index.size: 1130674328 Index.count: 125630479 Index.okay: no Translog.file: /var/lib/univention-ldap/notify/transaction Translog.size: 172706700 Translog.first: 123672201 Translog.last: 125630479 Translog.count: 1958279 Ldap.last: 125630479 Ldap.okay: yes ----------------------------------- → Index.okay is no The code shows why: print("Index.okay: %s" % ('yes' if index.count == translog.count else 'no',)) ---------------------------------- The cause seems to be the pruned transaction file. The transaction file was pruned by the customer when he tries to fix the issue by himself. ( UCS: 4.3-4 errata545 has not provide the command /usr/share/univention-directory-notifier/univention-translog prune <TID> yet) The output Index.okay: no was confusing for the customer.
[4.4-1] ac61a578bd Bug #49872 udn: Fix `univention-translog stat` check for index doc/errata/staging/univention-directory-notifier.yaml | 10 ++++++++++ management/univention-directory-notifier/debian/changelog | 6 ++++++ management/univention-directory-notifier/univention-translog | 2 +- 3 files changed, 17 insertions(+), 1 deletion(-) Package: univention-directory-notifier Version: 13.0.1-18A~4.4.0.201908141449 Branch: ucs_4.4-0 Scope: errata4.4-1 [4.4-1] d0574362ef Bug #49872: univention-directory-notifier 13.0.1-18A~4.4.0.201908141449 doc/errata/staging/univention-directory-notifier.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Verified: * Code adjustment * Advisory
<http://errata.software-univention.de/ucs/4.4/265.html>