BIND 10 #2852: Add an API for (re)setting a memory segment to ConfigurableClientList

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


#2852: Add an API for (re)setting a memory segment to ConfigurableClientList
-------------------------------------+-------------------------------------
                   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      |
-------------------------------------+-------------------------------------
 Subtask of #2830.  Depend on #2850.

 It would look like this:

 {{{#!cpp
 // params: opaque parameter specific to the memory segment type
 // in case of "mapped" segment, it would be something like:
 // {"mapped-file": "/var/bind10/mapped-files/zone-sqlite3.mapped.0"}
 void
 ConfigurableClientList::resetMemorySegment(const string& datasrc_name,
                                            MemorySegmentMode mode,
                                            ConstElementPtr params);
 }}}

 It would simply call the corresponding `ZoneTableSegment::reset()`.

 For mode, see #2850.

 Also add python wrapper of this method.

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


More information about the bind10-tickets mailing list