restart should start if the node isn't running #165

Closed
opened 2007-10-03 22:13:23 +00:00 by zandr · 5 comments
zandr commented 2007-10-03 22:13:23 +00:00
Owner

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

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
tahoe-lafs added the
operational
major
defect
0.6.0
labels 2007-10-03 22:13:23 +00:00
tahoe-lafs added this to the 0.6.1 milestone 2007-10-03 22:13:23 +00:00
zooko commented 2007-10-03 22:59:06 +00:00
Author
Owner

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

Would you settle for "--force" option to restart?
warner commented 2007-10-11 03:11:46 +00:00
Author
Owner

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?

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?
warner commented 2007-10-11 09:39:11 +00:00
Author
Owner

cc'ing zandr to solicit his feedback

cc'ing zandr to solicit his feedback
zooko commented 2007-10-14 01:02:55 +00:00
Author
Owner

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.

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.
tahoe-lafs added the
fixed
label 2007-10-14 01:02:55 +00:00
zooko closed this issue 2007-10-14 01:02:55 +00:00
warner commented 2009-02-25 03:44:33 +00:00
Author
Owner

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

This fix also helps #315.

After a discussion with Zandr, I just made --force the default. This will go into 1.3.1. This fix also helps #315.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: tahoe-lafs/trac-2024-07-25#165
No description provided.