Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clearing service instance DB State after STOP command
If Delete of service instance is received before it was marked unusable, StopServiceInstance command is issued, which invokes the namespace script. And immediately after this, DB state is cleared. Clearing of DB State can result in deleting of service instance DBEntry before namespace script completion. SIGCHILD event after script completion looks for service instance that triggered the task, and results in crash as the service isntance is already deleted. To avoid crash, the DBState is cleared after processing the SIGCHILD event. Testcases to follow in the next commit Change-Id: I212063ede8f7df4b693771aa394c4536a76d8d20 closes-bug: #1453956
- Loading branch information
1 parent
af7ce2b
commit 080dda0
Showing
2 changed files
with
88 additions
and
11 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