BIND 10 #446: configuration knob for in memory data source

BIND 10 Development do-not-reply at isc.org
Thu Dec 23 18:35:39 UTC 2010


#446: configuration knob for in memory data source
---------------------------+------------------------------------------------
      Reporter:  jinmei    |        Owner:  vorner               
          Type:  task      |       Status:  reviewing            
      Priority:  major     |    Milestone:  y2 12 month milestone
     Component:  b10-auth  |   Resolution:                       
      Keywords:            |    Sensitive:  0                    
Estimatedhours:  0.0       |        Hours:  0                    
      Billable:  1         |   Totalhours:  0                    
      Internal:  0         |  
---------------------------+------------------------------------------------

Comment(by vorner):

 Do we expect to have incompatible versions of new and delete? I know C++
 can overload these, but do we want to do that?

 Anyway, as it is used outside the module only inside tests and tests are
 kind of part of the module itself, I think 2 is the best of them. 1 would
 be fine too, as the only problem it causes is confusion.

 The destructor and exception, OK, I remembered wrong. But I think we have
 (maybe unwritten) requirement that destructors don't throw, so specifying
 that they could is somehow wrong. It sounds like we expect them to do so.

 With the exception, I think throwing an exception that should not be
 caught (or, when did, it should be rethrown) is the option. Like if the
 parser can't avoid it, instead of pretending everything is OK, it would
 abort the program, but with anything on the path out of main being able to
 know.

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


More information about the bind10-tickets mailing list