BIND 10 #454: Zone cut handling in MemoryZone
BIND 10 Development
do-not-reply at isc.org
Wed Dec 29 21:53:58 UTC 2010
#454: Zone cut handling in MemoryZone
------------------------------+---------------------------------------------
Reporter: jinmei | Owner: vorner
Type: task | Status: assigned
Priority: major | Milestone: y2 12 month milestone
Component: data source | Resolution:
Keywords: | Sensitive: 0
Estimatedhours: 0.0 | Hours: 0
Billable: 1 | Totalhours: 0
Internal: 0 |
------------------------------+---------------------------------------------
Changes (by jinmei):
* owner: jinmei => vorner
Comment:
Replying to [comment:2 vorner]:
> Few minor points:
>
> The compiler warned about possibly uninitialized variable „node“ in
find. As I wanted to run the test, I took the liberty of fixing it, so I
put it to the repository as well.
>
That's fine, thanks.
> {{{
> + return (false); // note: right now this case is
impossible.
> }}}
>
> If it is impossible, shouldn't it be assert, just to ensure that the
impossible doesn't happen?
>
In this case I think we can leave it as is. This will soon be updated in
the support for the 'glue OK' mode, which I'll work on next.
> {{{
> + /// \param node On success (either \c EXAMPLE or \c PARTIALMATCH)
it will
> }}}
>
> Shouldn't it be EXACTMATCH?
>
Ah, that's right. Good catch. Fixed (r4084).
> {{{
> + // shouldn't confuse the apex node (having NS) with delegation
> + // test to be added
> + findTest(origin_, RRType::NS(), Zone::SUCCESS, rr_ns_)
> }}}
>
> I don't really understand the comment. What test should be added? Like
something more than just the findTest(…) right there?
>
Hmm, I don't understand the comment either:-) What about this?
{{{
// finding NS for the apex (origin) node. This must not be confused
// with delegation due to the existence of an NS RR.
findTest(origin_, RRType::NS(), Zone::SUCCESS, rr_ns_);
}}}
--
Ticket URL: <http://bind10.isc.org/ticket/454#comment:3>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list