Bug 1013900 - logconv: some stats do not work across server restarts
Summary: logconv: some stats do not work across server restarts
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: 389-ds-base
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Rich Megginson
QA Contact: Sankar Ramalingam
URL:
Whiteboard:
Depends On: 1013165
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-01 02:25 UTC by Nathan Kinder
Modified: 2020-09-13 20:47 UTC (History)
4 users (show)

Fixed In Version: 389-ds-base-1.3.1.6-6.el7
Doc Type: Bug Fix
Doc Text:
Cause: logconv.pl did not handle server restarts very well. When the server restarts, the connection counter is reset. Any data associated with the old connection number is lost. Consequence: Some statistics are not calculated correctly or at all if logconv.pl detects a server restart. Fix: Index statistics by a tuple of (restartnum,connid,opid) where restartnum is the Nth restart, connid is the connection ID during that start period, and opid is the ID of the operation on that connection. Result: All statistics are calculated correctly no matter how many server restarts are detected by logconv.pl
Clone Of: 1013165
Environment:
Last Closed: 2014-06-13 12:02:04 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github 389ds 389-ds-base issues 870 0 None None None 2020-09-13 20:46:59 UTC

Description Nathan Kinder 2013-10-01 02:25:06 UTC
+++ This bug was initially created as a clone of Bug #1013165 +++

This bug is created as a clone of upstream ticket:
https://fedorahosted.org/389/ticket/47533

logconv keeps most stats in hashes keyed on connid,opid.  These are not unique - the server resets conn=1 upon restart.  logconv needs to keep unique stats across restarts.

Comment 2 srkrishn@redhat.com 2014-01-31 12:44:59 UTC
hi,
i verified the bug and the updated logconv.pl script performs properly even if the server restarts.i cannot mark it as verified,hence Sankar will handle it.

Comment 3 Sankar Ramalingam 2014-02-01 02:19:07 UTC
Based on the notes from Sriram and automated test execution, marking the bug as Verified.

Build tested - 389-ds-base-1.3.1.6-15

Automated tests in ./logfile/logconv.sh
Test - logconv01

Comment 4 Ludek Smid 2014-06-13 12:02:04 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


Note You need to log in before you can comment on or make changes to this bug.