BIND 10 trac2300, updated. 41e012ca8d97cc67e5ce349dc0d898793a3103ad [2300] added introduced statistics items into the manpage of b10-xfrin
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Oct 1 09:24:07 UTC 2012
The branch, trac2300 has been updated
discards 53e4552832e0f9dea28dee7e61f13fca4c924597 (commit)
discards c4828b373bb5153b0c92d26083aaa19a4d8764b4 (commit)
discards 09b9646d3f4d612e1683dd52b4485fe54d35d41e (commit)
discards bfe0fdceccfff7ae8ba57fc69ce00d5d76d60d63 (commit)
discards 8d42068277a310afc3c714932ec4bbffa6f23e92 (commit)
discards 8fad9730e7fd3d7dd609fd3ef3fe23a21d6aa7ed (commit)
discards c2e9571f573a2f81c28e67697570a3ea1aa229bf (commit)
discards 094bae483b3c04bc3e12e85bbd942b23ff6c4ca4 (commit)
discards 66b7a6a34851badb749242be6a63d0ebdd79960a (commit)
discards 5f54f4ca201b68dbe2267e2b342af1db938c6c8a (commit)
discards de810b1fcf9ffc44ba3c71d45e74466caa2953d5 (commit)
discards b4b0a5553b78c925b1a7308168eba69d38d54067 (commit)
discards e999c388e2ca3ca37f735bfed8ec438d1cbd1822 (commit)
discards dc67019a8e4621081659f35c92f93356b854cce8 (commit)
discards b6374d1bb6dd5ded61ded19bf8f4c7e523a8dd4b (commit)
discards 73b28533ad4098d49e3c66811737f6ab41397d4a (commit)
discards 7a57ac5ab8435dc37d70dc790da085e88a31eb71 (commit)
discards a05ca51e224a70f021e10e709669302c8e4c4e37 (commit)
via 41e012ca8d97cc67e5ce349dc0d898793a3103ad (commit)
via 7e389c282ec51e2fc3ee63e8d457789d18b99195 (commit)
via 1caf88501482d7fc122829146e05d5ae70e015d8 (commit)
via 45e74e8bb99a7fd297553974ebc04e3cf352d9c8 (commit)
via a79ee3d843c8fc97e684e39ce72f6eb32fd0ce95 (commit)
via 7bfba2edb3f066ae7892058d9314cae3f0bc222d (commit)
via ad4bfde7600ebf59d04dd42d629c0585b5be062a (commit)
via bc2c1e2c7c8a033eb285a941ef9a939f885188d7 (commit)
via b80b6639b2601584265813b476b6f36cea68fa53 (commit)
via e80c87913c0ed829c8e6bce1eb00c5244c2f9ad6 (commit)
via 218c9b895e5d9d95c80a5bf3359c257cfbeece2e (commit)
via c1fdeed57f879e88f4b66fb8caee16494e025c8e (commit)
via c6ec184ca5be7ee2dd2bb4c9dc701893f0c97b34 (commit)
via 31e96ef279f588af8cd7b8aca8013a469425b4ec (commit)
via 11bb0ee5a5cecc673041766435bf25d59010b30f (commit)
via b2e2566f267d8e6958211ffd0bfd08121520521a (commit)
via f67061fa530c7f325c571e031b870c53cd502737 (commit)
via edd494b274512597bde1f9acc5e7a4f9b7b397cc (commit)
via d1b06874353849175446f37dfca5a95f66ce5093 (commit)
This update added new revisions after undoing existing revisions. That is
to say, the old revision is not a strict subset of the new revision. This
situation occurs when you --force push a change and generate a repository
containing something like this:
* -- * -- B -- O -- O -- O (53e4552832e0f9dea28dee7e61f13fca4c924597)
\
N -- N -- N (41e012ca8d97cc67e5ce349dc0d898793a3103ad)
When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 41e012ca8d97cc67e5ce349dc0d898793a3103ad
Author: Naoki Kambe <kambe at jprs.co.jp>
Date: Fri Sep 28 16:18:00 2012 +0900
[2300] added introduced statistics items into the manpage of b10-xfrin
commit 7e389c282ec51e2fc3ee63e8d457789d18b99195
Author: Naoki Kambe <kambe at jprs.co.jp>
Date: Fri Sep 28 16:17:22 2012 +0900
[2300] added a new scenario which a master isn't started
commit 1caf88501482d7fc122829146e05d5ae70e015d8
Author: Naoki Kambe <kambe at jprs.co.jp>
Date: Fri Sep 28 16:15:25 2012 +0900
[2300] added checks of the ip socket counters introduced on #2300
commit 45e74e8bb99a7fd297553974ebc04e3cf352d9c8
Author: Naoki Kambe <kambe at jprs.co.jp>
Date: Fri Sep 28 16:14:18 2012 +0900
[2300] added "for unixdomain" for identifying into checks of unix socket counters
commit a79ee3d843c8fc97e684e39ce72f6eb32fd0ce95
Author: Naoki Kambe <kambe at jprs.co.jp>
Date: Fri Sep 28 16:08:55 2012 +0900
[2300] updated the lettuce method for counting the statistics counters
They can be identified by the socket type, e.g, unixsocket, ipv4, ipv6, even
though the previous ways to be used is supported.
commit 7bfba2edb3f066ae7892058d9314cae3f0bc222d
Author: Naoki Kambe <kambe at jprs.co.jp>
Date: Fri Sep 28 16:04:00 2012 +0900
[2300] added a test method test_ipsocket_counters() for testing the incrementers of the socket counters
commit ad4bfde7600ebf59d04dd42d629c0585b5be062a
Author: Naoki Kambe <kambe at jprs.co.jp>
Date: Fri Sep 28 16:02:38 2012 +0900
[2300] added a method _create_ipsocket_functors() for creating incrementers of the socket counters
commit bc2c1e2c7c8a033eb285a941ef9a939f885188d7
Author: Naoki Kambe <kambe at jprs.co.jp>
Date: Fri Sep 28 16:01:10 2012 +0900
[2300] added a class TestXfrinConnectionSocketCounter for testing socket counters introduced on #2300
commit b80b6639b2601584265813b476b6f36cea68fa53
Author: Naoki Kambe <kambe at jprs.co.jp>
Date: Fri Sep 28 16:00:19 2012 +0900
[2300] introduced an argument family into get_ipver_str()
commit e80c87913c0ed829c8e6bce1eb00c5244c2f9ad6
Author: Naoki Kambe <kambe at jprs.co.jp>
Date: Fri Sep 28 15:58:58 2012 +0900
[2300] added methods overridden from asyncore.dispatcher for adding socket counters
commit 218c9b895e5d9d95c80a5bf3359c257cfbeece2e
Author: Naoki Kambe <kambe at jprs.co.jp>
Date: Fri Sep 28 15:57:25 2012 +0900
[2300] added definitions of new statistics counter items to the Xfrin spec
-----------------------------------------------------------------------
Summary of changes:
src/bin/xfrin/xfrin.py.in | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/xfrin/xfrin.py.in b/src/bin/xfrin/xfrin.py.in
index bca4228..bf29b52 100755
--- a/src/bin/xfrin/xfrin.py.in
+++ b/src/bin/xfrin/xfrin.py.in
@@ -998,6 +998,10 @@ class XfrinConnection(asyncore.dispatcher):
self.init_socket()
if not self.connect_to_master():
raise XfrinException('Unable to reconnect to master')
+
+ # start statistics timer
+ getattr(counter,
+ 'start_time_to_%s' % req_str.lower())(self._zone_name)
try:
# increment deferred xfers
getattr(counter, 'inc_%s_deferred' % req_str.lower())()
@@ -1005,15 +1009,11 @@ class XfrinConnection(asyncore.dispatcher):
self._send_query(self._request_type)
finally:
# decrement deferred xfers
- getattr(counter, 'dec_%s_deferred' % \
- req_str.lower())()
+ getattr(counter, 'dec_%s_deferred' % req_str.lower())()
# count xfer requests for statistics
getattr(counter,
'inc_%sreq%s' % (req_str.lower(), self.get_ipver_str()))\
(self._zone_name)
- # start timer for measuring xfering
- getattr(counter,
- 'start_time_to_%s' % req_str.lower())(self._zone_name)
# increment xfers running
getattr(counter, 'inc_%s_running' % req_str.lower())()
self.__state = XfrinInitialSOA()
@@ -1042,6 +1042,10 @@ class XfrinConnection(asyncore.dispatcher):
"%.f" % self._transfer_stats.get_bytes_per_second()
)
+ # stop start timer
+ getattr(counter,
+ 'stop_time_to_%s' % req_str.lower())(self._zone_name)
+
except XfrinZoneUptodate:
# Eventually we'll probably have to treat this case as a trigger
# of trying another primary server, etc, but for now we treat it
@@ -1077,10 +1081,6 @@ class XfrinConnection(asyncore.dispatcher):
if ret == XFRIN_OK:
# count successful xfer requests
counter.inc_xfrsuccess(self._zone_name)
- # stop timer for measuring xfering
- getattr(counter,
- 'stop_time_to_%s' % req_str.lower())\
- (self._zone_name)
elif ret == XFRIN_FAIL:
# count failed xfer requests
counter.inc_xfrfail(self._zone_name)
More information about the bind10-changes
mailing list