Bug 43113 - Error of missing transaction ID is not written into log file at standard debug level
Error of missing transaction ID is not written into log file at standard debu...
Status: NEW
Product: UCS
Classification: Unclassified
Component: Listener (univention-directory-listener)
UCS 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-12-05 13:14 CET by Alexander Kläser
Modified: 2018-04-14 14:01 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.034
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Ticket number:
Bug group (optional): Cleanup, Error handling, External feedback, Troubleshooting
Max CVSS v3 score:
klaeser: Patch_Available+


Attachments
Suggested patch (1.44 KB, patch)
2016-12-05 14:49 CET, Alexander Kläser
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kläser univentionstaff 2016-12-05 13:14:44 CET
In the example below, the transaction ID 20725970 was missing in the transaction log file due to a hard reboot of the master. The error "20725970 not found in cache" should be written as debug level ERROR into the log file.

> 24.11.16 16:49:36.663  TRANSFILE   ( ALL     ) : Listener fd = 7
> 24.11.16 16:49:36.663  TRANSFILE   ( ALL     ) : ------------------------------
> 24.11.16 16:49:36.663  TRANSFILE   ( ALL     ) : new connection data = 25
> 24.11.16 16:49:36.663  TRANSFILE   ( ALL     ) : line = [MSGID: 3]
> 24.11.16 16:49:36.663  TRANSFILE   ( ALL     ) : line = [GET_DN 20725970]
> 24.11.16 16:49:36.663  TRANSFILE   ( ALL     ) : RECV: GET_DN
> 24.11.16 16:49:36.663  TRANSFILE   ( ALL     ) : id: 20725970
> 24.11.16 16:49:36.663  TRANSFILE   ( ALL     ) : try to read 20725970 from cache
> 24.11.16 16:49:36.663  TRANSFILE   ( PROCESS ) : searching cache id = 20725970
> 24.11.16 16:49:36.664  TRANSFILE   ( ALL     ) : 20725970 not found in cache
> 24.11.16 16:49:36.664  TRANSFILE   ( ALL     ) : 20725970 get one dn
> 24.11.16 16:49:36.664  TRANSFILE   ( ALL     ) : LOCK from notify_transcation_get_one_dn
> 24.11.16 16:49:36.664  TRANSFILE   ( ALL     ) : LOCK /var/lib/univention-ldap/notify/transaction
> 24.11.16 16:50:23.284  TRANSFILE   ( ALL     ) : FCLOSE start
> 24.11.16 16:50:23.284  TRANSFILE   ( ALL     ) : FCLOSE end
> 24.11.16 16:50:23.285  TRANSFILE   ( ALL     ) : UNLOCK /var/lib/univention-ldap/notify/transaction
> 24.11.16 16:50:23.285  TRANSFILE   ( ALL     ) : 20725970 failed 
> 24.11.16 16:50:23.285  TRANSFILE   ( ERROR   ) : 7 failed, close connection to listener
Comment 1 Alexander Kläser univentionstaff 2016-12-05 14:49:06 CET
Created attachment 8285 [details]
Suggested patch