2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-25 19:47:42 +00:00
bind/doc/design/rdataset

31 lines
865 B
Plaintext
Raw Normal View History

2001-01-09 22:01:04 +00:00
Copyright (C) 1999-2001 Internet Software Consortium.
2000-08-09 04:37:43 +00:00
See COPYRIGHT in the source root or http://isc.org/copyright.html for terms.
1999-03-11 00:45:31 +00:00
2001-01-09 22:01:04 +00:00
$Id: rdataset,v 1.5 2001/01/09 21:46:50 bwelling Exp $
2000-06-22 22:00:42 +00:00
1999-03-11 00:45:31 +00:00
Need way to "dup" an rdataset (i.e. different rdataset handle, same underlying
data).
DB addnode routine should take an rdataset *, which, if non-NULL, would be
attached to the added rdataset.
Need credibility, security status.
Cache security status in rdataset. Have rdataset supply methods to get/set
the security status. For RBTDB, it goes something like this:
get:
if (cached status == pending)
lock node lock
read rdataset's status
unlock node lock
update cached status
return (cached status)
set:
require that status cannot go backwards (e.g. OK to pending)
lock node lock
write rdataset's status
unlock node lock
update cached status