Skip to content
This repository has been archived by the owner on Jul 7, 2020. It is now read-only.

fix minion death loop when a job directory is blown away but minion thin... #23

Closed
wants to merge 1 commit into from
Closed

Conversation

stewartoallen
Copy link
Contributor

...gs it's maybe running

@mspiegel
Copy link
Contributor

I don't understand what effect this change has on the Minion behavior. In the original implementation if a job directory is blown away then 'success' would be set to false on line 2017. The 'success' variable has no effect other than to dictate what logging message is produced. With this patch 'succes' is set to true if the job directory is missing. What behavior does this change besides logging?

@stewartoallen
Copy link
Contributor Author

well, let's call it a logging death loop then. pre-patch minion emits a constant stream of stack traces.

@mspiegel
Copy link
Contributor

It seems like a bad idea to patch an unwanted code action by eliminating the log messages but continuing to perform the action.

@stewartoallen
Copy link
Contributor Author

it does more than that. it sets success to true when there are clearly no more directories to attempt to delete in vain.

@mspiegel
Copy link
Contributor

Is this a suitable alternative? #28. It does not enter the while() loop if the parent directory is missing.

@mspiegel mspiegel closed this Feb 14, 2014
@stewartoallen stewartoallen deleted the at-pull-003 branch March 11, 2014 17:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants