BIND 10 #2914: extend ZoneDataLoader so it can use a journal reader

BIND 10 Development do-not-reply at isc.org
Thu Apr 11 21:56:16 UTC 2013


#2914: extend ZoneDataLoader so it can use a journal reader
-------------------------------------+-------------------------------------
                   Reporter:         |                 Owner:
  jinmei                             |                Status:  new
                       Type:  task   |             Milestone:  Next-Sprint-
                   Priority:         |  Proposed
  medium                             |              Keywords:
                  Component:  data   |             Sensitive:  0
  source                             |           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      |
-------------------------------------+-------------------------------------
 This is a continuation of #2912, depends on it and #2752.

 We'll implement the `notyet` part of #2912.

 {{{#!cpp
 class ZoneDataLoader {
 public:
     // Constructor for apply diff, from zone journal reader.
     // The ZoneData* parameter will point to the current zone data
     // to be updated.
     ZoneDataLoader(MemorySegment& mem_sgmt, const RRClass&, const Name&,
                    ZoneJournalReaderPtr, ZoneData*);

     // in the "journal" mode this method performs all the updates passed
     // from the journal reader to the zone data given on construction.
     // note that we cannot do this in load() because it modifies the
 current
     // working zone data (for memmgr this actually doesn't matter, but for
     // "local" segment it's critical).
     void commit();
 }
 }}}

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


More information about the bind10-tickets mailing list