BIND 10 #2213: revise LoadZoneCommand::exec() of b10-auth to use the configurator thread

BIND 10 Development do-not-reply at isc.org
Tue Oct 23 07:20:12 UTC 2012


#2213: revise LoadZoneCommand::exec() of b10-auth to use the configurator thread
-------------------------------------+-------------------------------------
                   Reporter:         |                 Owner:
  jinmei                             |                Status:  new
                       Type:  task   |             Milestone:
                   Priority:         |  Sprint-20121023
  medium                             |            Resolution:
                  Component:         |             Sensitive:  0
  b10-auth                           |           Sub-Project:  DNS
                   Keywords:         |  Estimated Difficulty:  4
            Defect Severity:  N/A    |           Total Hours:  0
Feature Depending on Ticket:         |
  background zone loading            |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------

Comment (by jinmei):

 This ticket should be able to be started based on the latest snapshot
 of trac2212 (see #2212).

 What should be done is:

 - write new tests for the next bullet
 - add loadzone() method to `DataSrcClientsMgr`.  It will be port of
   the initial half of `LoadZoneCommand::exec()`, including validation
   of args (it doesn't have to check the existence of the client list),
   and send the LOADZONE command with the argument of the pair of class
   and origin (note that the builder expects a complete pair of class
   and zone.  So the manager needs to pass the default class if it's
   omitted)
 - remove now-unnecessary tests in command_unittest.  These are
   loadZone, loadZoneSQLite3, loadBrokenZone, loadUnreadableZone,
   loadZoneWithoutDataSrc, and loadZoneInvalidParams, and helper
   functions used by these tests.

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


More information about the bind10-tickets mailing list