#165 closed defect (fixed)

restart should start if the node isn't running

Reported by: zandr Owned by: zandr
Priority: major Milestone: 0.6.1
Component: operational Version: 0.6.0
Keywords: Cc: zandr
Launchpad Bug:

Description

allmydata-tahoe restart doesn't work if the node isn't running.

This is a problem operationally, since I then need to know if a given node is running to determine which command to use.

restart should simply default to start if it can't find the twistd.pid

Change History (6)

comment:1 Changed at 2007-10-03T22:59:06Z by zooko

  • Owner changed from somebody to zooko
  • Status changed from new to assigned

Would you settle for "--force" option to restart?

comment:2 Changed at 2007-10-11T03:11:46Z by warner

oops, the --force option *used* to be there, but it appears that some weirdness (maybe a silent merge problem?) caused it to disappear. (duplicate optFlags definitions in a single class).

I just fixed the problem and restored --force.

This still leaves open the question for zandr: is 'restart --force' good enough?

comment:3 Changed at 2007-10-11T09:39:11Z by warner

  • Cc zandr added

cc'ing zandr to solicit his feedback

comment:4 Changed at 2007-10-11T10:30:38Z by warner

  • Owner changed from zooko to zandr
  • Status changed from assigned to new

comment:5 Changed at 2007-10-14T01:02:55Z by zooko

  • Resolution set to fixed
  • Status changed from new to closed

I'm going to close this to indicate that we consider it resolved as far as the v0.6.1 release. Zandr: please re-open this ticket if you prefer a different interface.

comment:6 Changed at 2009-02-25T03:44:33Z by warner

After a discussion with Zandr, I just made --force the default. This will go into 1.3.1.

This fix also helps #315.

Note: See TracTickets for help on using tickets.