BIND 10 #300: Bind10: create one process list and use it to kill all processes in that list
BIND 10 Development
do-not-reply at isc.org
Thu Sep 30 20:16:50 UTC 2010
#300: Bind10: create one process list and use it to kill all processes in that
list
-------------------------------+--------------------------------------------
Reporter: zhanglikun | Owner: UnAssigned
Type: enhancement | Status: reviewing
Priority: major | Milestone:
Component: Boss of BIND | Resolution:
Keywords: | Sensitive: 0
Estimatedhours: 0.0 | Hours: 0
Billable: 1 | Totalhours: 1.0
Internal: 0 |
-------------------------------+--------------------------------------------
Changes (by vorner):
* owner: vorner => UnAssigned
* status: accepted => reviewing
Comment:
I created a rollback transaction and put it into library, because it
seemed to me this kind of thing might be useful somewhere else as well and
it wasn't much more work. I let BoB use that to kill the processes.
The transaction has tests, but the code in BoB didn't have them before and
I do not see a reasonable way to test it automatically, as it starts many
processes and we would need to make them fail in the fork or somewhere
there. Do you think it is a problem? Any idea how it could be tested? I
tested that functionality manually at last.
The changes are in branches/trac300, branch point is r3075, head is r3092.
The suggested changelog:
{{{
[func] Michal Vaner
Implemented a rollback transaction - simple list of cleanup actions that
is run
in case of exception. Used in BoB to kill processes if there's error on
startup.
}}}
--
Ticket URL: <https://bind10.isc.org/ticket/300#comment:3>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list