BIND 10 #2833: refactor relationship between datasrc::ClientList and ZoneTableSegment

BIND 10 Development do-not-reply at isc.org
Tue Mar 19 21:42:30 UTC 2013


#2833: refactor relationship between datasrc::ClientList and ZoneTableSegment
-------------------------------------+-------------------------------------
            Reporter:  jinmei        |                        Owner:
                Type:  task          |  jinmei
            Priority:  medium        |                       Status:
           Component:  Unclassified  |  accepted
            Keywords:                |                    Milestone:
           Sensitive:  0             |  Sprint-20130402
         Sub-Project:  DNS           |                   Resolution:
Estimated Difficulty:  5             |                 CVSS Scoring:
         Total Hours:  0             |              Defect Severity:  N/A
                                     |  Feature Depending on Ticket:
                                     |  shared memory data source
                                     |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------

Comment (by jinmei):

 As I'm not "allowed" to do development task this week, I'll release
 the ticket for now.  I've pushed branch trac2833 with my progress so
 far.

 My plan is to
 - pass (a reference to) `ZoneTableConfig` to
   `ZoneTableSegment::create()` and let `ZoneTableSegment` keep it,
   while let `ClientList` maintain it throughout its lifetime.
 - implement the proposed "loadAll" method using `ZoneTableConfig`.
   the `ZoneTableSegment` will call getZoneConfig(), and for each
   key of the map entry (which is the zone name) call `getLoadAction`,
   and build `ZoneData` and fill in the table.
 - With `ZoneTableConfig`, cleanup `ConfigurableClientList::configure`:
   it should become agnostic about !MasterFiles and other data sources
   with this abstraction.

 If someone takes over this task and completes my plan, that's fine; if
 someone takes over this task but disagrees with plan, we can discuss
 it; if no one else takes over this task within this week, I'll resume
 it myself.

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


More information about the bind10-tickets mailing list