-
Notifications
You must be signed in to change notification settings - Fork 58
LambdaCD does not start when when persistent state is corrupted #192
Comments
It's definitely possible to do, even though I usually prefer to fail fast as it's more explicit to the user: "oh, my state is corrupted" vs "hmm, somehow one of my builds disappeared". That aside, I'd like to understand how we got into this state in the first place. From looking at the stack trace and the code it looks like there were directories like If this happens again, can you have a look into the home directory and post an |
…he directory name afterwards to prevent startup failures due to invalid build directory names (#192)
I just looked at the code a bit more and found it definitely inconsistent. It looked at all directories starting with I'd still be curious how such directories ended up there so if you find out, please drop a note, maybe there's another bug hiding somewhere. |
@flosell we just upgraded to 0.14.2. However it does not seem to resolve the issue.
|
… be more robust against paths with invalid build numbers (related to #192)
Hi @abendt, sorry for the late reply, was busy with a few other things lately. I looked into your problem again but couldn't find a way to reproduce this problem or understand why it's happening. However, I refactored the code to make it easier to reason about and possibly more robust. |
Will do. Thanks you! |
we use LambdaCD with file-based persistence.
Sometimes during shutdown it seems that file is corrupted. Afterwards LambdaCD does not start anymore:
we fixed the problem by deleting the workspace. Maybe there are some ways this could be improved within LambdaCD? e.g. ignoring a previous build when it's file cannot be read.
The text was updated successfully, but these errors were encountered: