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

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

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

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?

cc'ing zandr to solicit his feedback

cc'ing zandr to solicit his feedback

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.
zooko added the
fixed
label 2007-10-14 01:02:55 +00:00
zooko closed this issue 2007-10-14 01:02:55 +00:00

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 Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

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