BIND 10 #2106: allow RBTree::find to take LabelSequence

BIND 10 Development do-not-reply at isc.org
Thu Jul 26 20:28:41 UTC 2012


#2106: allow RBTree::find to take LabelSequence
-------------------------------------+-------------------------------------
                   Reporter:         |                 Owner:  UnAssigned
  jinmei                             |                Status:  reviewing
                       Type:  task   |             Milestone:
                   Priority:         |  Sprint-20120731
  medium                             |            Resolution:
                  Component:  data   |             Sensitive:  0
  source                             |           Sub-Project:  DNS
                   Keywords:         |  Estimated Difficulty:  3
            Defect Severity:  N/A    |           Total Hours:  0
Feature Depending on Ticket:         |
  scalable inmemory                  |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------

Comment (by jinmei):

 Basically looks okay, but I have some minor points.

 - doxygen docs for the `Name` and `LabelSequence` versions are mostly
   duplicate.  I'd unify them to minimize redundant text.  Or, perhaps
   we might even obsolete the name version if it's really only used from
   `InMemoryZoneFinder`.
 - Likewise, can we share the code for callbackXXX tests?  They'd
   better be unified both for minimizing dups and for making both cases
   more complete.
 - In the find() implementation, maybe we rename target_labels to
   something like target_labels_orig and keep the original
   target_labels as it was?  Especially because due to renaming it
   to _copy there's one 'too long' line:
 {{{#!cpp
         node_path.last_comparison_ =
 target_labels_copy.compare(node->getLabels());
 }}}

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


More information about the bind10-tickets mailing list