-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Clear batch config if the serialized data is corrupted. If you attempt to store a closure into shared memory, it will error out and leave corrupt data in shared memory. When the daemon tries to read the corrupt data, it crashes, but currently does not clear the config. Thus, the batch daemon will continue to crash until the shared memory is manually cleared. Instead, if we detect corrupt data, we will clear the corrupt data from shared memory. * Clear shared memory when the write fails on serialization as well * If BatchConfig serialization fails, clear it out. Don't force the readers to do it, although the also will clear it out if deserialization fails. * Return the result of the storage write
- Loading branch information
Showing
4 changed files
with
54 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters