BIND 10 #519: msgq socket recv hang

BIND 10 Development do-not-reply at isc.org
Wed Aug 10 10:40:56 UTC 2011


#519: msgq socket recv hang
-------------------------------------+-------------------------------------
                   Reporter:  jreed  |                 Owner:  jreed
                       Type:         |                Status:  reviewing
  defect                             |             Milestone:
                   Priority:  major  |  Sprint-20110816
                  Component:         |            Resolution:
  Unclassified                       |             Sensitive:  0
                   Keywords:         |           Sub-Project:  DNS
            Defect Severity:  N/A    |  Estimated Difficulty:  5.0
Feature Depending on Ticket:         |           Total Hours:  0
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
Changes (by zhanglikun):

 * owner:  UnAssigned => jreed


Comment:

 Hi Jeremy, I create one branch trac519, would you like to have a test
 again?

 Again, I did some change to stats and boss module.

 Old logic:
 When stats module starts, it will send the command "sendstats"  to boss,
 then wait for the answer in non-block mode, when boss receive command
 "sendstats", boss will send command 'set' to stats, then wait for the
 answer in non-block mode.

 The problem is: wait for answer in non-block mode will generate orphan
 answers(never be read again). but if change it to in block mode, it will
 'deadlock', since boss and stats wait for answer from each other.

 New logic:
 when stats module starts, it will send a new command "getstats" to boss,
 then boss will send back the stats data in the answer.

-- 
Ticket URL: <http://bind10.isc.org/ticket/519#comment:12>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list