BIND 10 #2986: Auth statistics counters become minus (proposal of 64bit counters and CC library) (was: Auth statistics counters become minus (64bit counters))

BIND 10 Development do-not-reply at isc.org
Fri May 31 11:09:26 UTC 2013


#2986: Auth statistics counters become minus (proposal of 64bit counters and CC
library)
-------------------------------------+-------------------------------------
            Reporter:  fujiwara      |                        Owner:
                Type:  defect        |                       Status:  new
            Priority:  medium        |                    Milestone:  New
           Component:  statistics    |  Tasks
            Keywords:                |                   Resolution:
           Sensitive:  0             |                 CVSS Scoring:
         Sub-Project:  DNS           |              Defect Severity:  N/A
Estimated Difficulty:  0             |  Feature Depending on Ticket:
         Total Hours:  0             |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
Description changed by fujiwara:

Old description:

> Statistics counters are unsigned int (32bit) and integer values in CC are
> signed int (32bit).
> If a counter value becomes 2^31, -2^31 is sent to stats daemon.
>
> One of solutions is to change "integer" type to signed 64bit in
> src/lib/cc/data.h and add unsigned 64bit support to JSON output.
>
> python may treat 64bit unsigned integer numbers.

New description:

 Statistics counters are unsigned int (32bit) and integer values in CC are
 signed int (32bit).
 If a counter value becomes 2147483648 (2^31), -2147483648 is sent to stats
 daemon.

 One of solutions is to change "integer" type to signed 64bit in
 src/lib/cc/data.h and add unsigned 64bit support to JSON output. Also
 change counter type to unsigned 64bit int.

 python may treat 64bit unsigned integer numbers.

--

-- 
Ticket URL: <https://bind10.isc.org/ticket/2986#comment:1>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list