BIND 10 #1280: suggestion: record xfrin-session-statistics and log it
BIND 10 Development
do-not-reply at isc.org
Thu Oct 6 22:18:57 UTC 2011
#1280: suggestion: record xfrin-session-statistics and log it
-------------------------------------+-------------------------------------
Reporter: jinmei | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: Next-
Component: xfrin | Sprint-Proposed
Sensitive: 0 | Keywords:
Sub-Project: DNS | Defect Severity: N/A
Estimated Difficulty: 0 | Feature Depending on Ticket:
Total Hours: 0 | Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
I didn't go this further in #1261 (as the branch was getting
bigger) but I actually wanted to improve xfrin log a bit.
BIND 9 records some statistics information about each xfrin session
and dumps it in a log message at the end of the session:
{{{
xfrin_log(xfr, ISC_LOG_INFO,
"Transfer completed: %d messages, %d records, "
"%" ISC_PRINT_QUADFORMAT "u bytes, "
"%u.%03u secs (%u bytes/sec)",
xfr->nmsg, xfr->nrecs, xfr->nbytes,
(unsigned int) (msecs / 1000), (unsigned int) (msecs %
1000),
(unsigned int) persec);
}}}
I propose we do the same thing for xfrin.
Further, I wonder it would be nice if we could see the status of
ongoing xfrin sessions via bindctl. That would be a nice extension
unique to BIND 10 (I heard a request from a operator to show this
information via BIND 9's http stat/status server, so there's a need
for it). If it's easy it could be a part of this ticket. Or it
may be a subject of a separate ticket.
--
Ticket URL: <http://bind10.isc.org/ticket/1280>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list