-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
write lockfiles for in flight services
we need a mechanism for the bosh drain lifecycle to know if there are terraform processes in flight. the lockfiles do just that. they filesystem approach was favoured over a in memory map to allow an easier interface with bosh. assuming the csb process crashes while shutting down, recovering the SIs that were in flight is tricky because the in memory state got lost when the crash happened. additionally having the files use the GUIDs for their names allows us to log the ecact SIs that were not succesfully finished via the drain script.
- Loading branch information
1 parent
dcc4104
commit 4be9b0d
Showing
8 changed files
with
405 additions
and
10 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.