Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Healtcheck instance parallel access & cleanup
Issue: ------ Health check instance is getting access from asio and DBtable task context causing race condition to access object and delete it at the same time. Fix: ---- - move operation for READ and EXIT to a new HealthCheck task context which runs in exclusion with DBTable task - move cleanup of instance from DBTable to HealthCheck task context to put events in correct sequence - instance holds reference to service object to assure sanity of access till cleanup is complete Closes-Bug: 1533627 Related-Bug: 1530539 Change-Id: I2880a2c21a8a642bd6612067be5b67ba02c88fe8
- Loading branch information
Prabhjot Singh Sethi
committed
Jan 28, 2016
1 parent
25954b4
commit 4a4bb3d
Showing
6 changed files
with
189 additions
and
58 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
Oops, something went wrong.