BIND 10 #2861: synchronization between auth main thread and datasrc builder

BIND 10 Development do-not-reply at isc.org
Fri Mar 15 07:24:46 UTC 2013


#2861: synchronization between auth main thread and datasrc builder
-------------------------------------+-------------------------------------
                   Reporter:         |                 Owner:
  jinmei                             |                Status:  new
                       Type:  task   |             Milestone:  Next-Sprint-
                   Priority:         |  Proposed
  medium                             |              Keywords:
                  Component:         |             Sensitive:  0
  b10-auth                           |           Sub-Project:  DNS
               CVSS Scoring:         |  Estimated Difficulty:  0
            Defect Severity:  N/A    |           Total Hours:  0
Feature Depending on Ticket:         |
  shared memory data source          |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
 Subtask of #2830.  No dependency.

 b10-auth will now need to wait for the completion of initial data
 source setup (create clients and load any local-cached zones) because
 until then the main thread cannot know which data source needs shared
 segments.

 I'm not sure what's the best way to do this, but one possible (but
 naive) approach is to run a timer while the builder thread is working
 on the "RECONFIGURE" command, and let the builder update some shared
 info when it's done.  the main thread periodically checks the state
 until it's completed.

 We could (should?) also defer listening to queries until it's
 completed because partially working server would be rather harmful (I
 guess there's a ticket on this).

 Consider a better way to do this if any, and implement it.

-- 
Ticket URL: <http://bind10.isc.org/ticket/2861>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list