Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor vendor_passthru to use conductor async workers
To acheive sync validation + async vendor action we used two rpc calls. Currently we have async workers mechanism in conductor so this patch changes vendor_passthru flow to: rpc CALL -> validate -> spawn worker -> return driver info. Also this patch moves vendor_passthru exclusive lock creation to conductor level to have common lock for the whole method and prevent races. Change-Id: I9b0173841398d72b1818e986caf3d9a486cd205e
- Loading branch information
Showing
6 changed files
with
141 additions
and
100 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
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