-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize SchedulerReportClient.delete_resource_provider
This is used to optimize the SchedulerReportClient delete_resource_provider method when deleting a compute node and its related resource provider which happens in both the API when a compute service is deleted and in the compute service in the update_available_resource method for orphan nodes (so the new InstanceList query method needs to be remotable). The actual DB query stuff in here is tested in the nova.tests.functional.wsgi.test_services code. Change-Id: Id033e8f95f853ccfc34bd350be6df11c1bfb1b7d Related-Bug: #1811726
- Loading branch information
Showing
4 changed files
with
36 additions
and
21 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