BIND 10 #2852: Add an API for (re)setting a memory segment to ConfigurableClientList
BIND 10 Development
do-not-reply at isc.org
Mon Jun 3 11:52:58 UTC 2013
#2852: Add an API for (re)setting a memory segment to ConfigurableClientList
-------------------------------------+-------------------------------------
Reporter: jinmei | Owner: muks
Type: task | Status:
Priority: medium | reviewing
Component: data source | Milestone:
Keywords: | Sprint-20130611
Sensitive: 0 | Resolution:
Sub-Project: DNS | CVSS Scoring:
Estimated Difficulty: 3 | Defect Severity: N/A
Total Hours: 0 | Feature Depending on Ticket:
| shared memory data source
| Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
Comment (by muks):
Replying to [comment:11 vorner]:
> However, should the test case be parametrized, so it works both with the
file-mapped segment and with the memory one? To check that such change as
resetting the segment doesn't cause the memory one stop working?
I have parameterized the tests now. It also is useful to do this as shared
memory is not available on all platforms. Jinmei mentioned that it is an
invalid operation to call `reset()` on a `ZoneTableSegmentLocal` (which is
why it throws), but I don't know why it has to be like this instead of
being a nop.
> Also, where does the config that is passed to the reset method come
from?
Somewhere in the B10 config, but I don't know which ticket specifies this.
`ZoneTableSegmentMapped` expects a map element with this specific
key/value pair.
--
Ticket URL: <http://bind10.isc.org/ticket/2852#comment:12>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list