Opened 9 years ago

Closed 9 years ago

#788 closed enhancement (complete)

Start boss in a brittle mode

Reported by: shane Owned by: shane
Priority: medium Milestone: Sprint-20110405
Component: ~Boss of BIND (obsolete) Version:
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity:
Sub-Project: Feature Depending on Ticket:
Estimated Difficulty: 3.0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description

For testing purposes, I would prefer or BIND 10 to stop if there is an error in any of the processes, instead of restarting it.

Someone suggested this to me, and it makes sense. I think this could be "--brittle" on the command line.

Subtickets

Change History (4)

comment:1 Changed 9 years ago by shane

  • Milestone set to Sprint-20110405
  • Owner set to UnAssigned
  • Status changed from new to reviewing

This is now implemented in the trac788 branch, and ready for review.

comment:2 Changed 9 years ago by zzchen_pku

  • Owner changed from UnAssigned to zzchen_pku

comment:3 Changed 9 years ago by zzchen_pku

  • Owner changed from zzchen_pku to shane

The code looks nice and clean.
I runned bind10 with '----brittle' option, BIND10 stopped as defined logic.

There is an error message while running unittest:

[bind10] Process b10-auth (PID 5) terminated, exit status = 0

It might be nice to send the output to someplace else:)

Please feel free to merge after fixing it.

comment:4 Changed 9 years ago by shane

  • Estimated Difficulty changed from 0.0 to 3
  • Resolution set to complete
  • Status changed from reviewing to closed

Okay, this has been merged into the main trunk with commit 68b9571be6f2370798951b05968d07688e96d56d, although I forgot to clean up the test output, which I did with commit 62a61edffac3ebdd91fec693fe2c1a94785ddb25.

Note: See TracTickets for help on using tickets.