diff options
| author | Russell Bryant <rbryant@redhat.com> | 2012-07-20 13:50:00 -0400 |
|---|---|---|
| committer | Russell Bryant <rbryant@redhat.com> | 2012-07-25 19:52:14 -0400 |
| commit | f5289971b7da19111ca6a68bb46c1108ea46664b (patch) | |
| tree | 7019de4fb2945e1a15785e259e217bcb822d46ce /nova/openstack | |
| parent | 6aac5f1308aa3e360204bd8f4dcfe90522f6db2e (diff) | |
| download | nova-f5289971b7da19111ca6a68bb46c1108ea46664b.tar.gz nova-f5289971b7da19111ca6a68bb46c1108ea46664b.tar.xz nova-f5289971b7da19111ca6a68bb46c1108ea46664b.zip | |
Don't use rpc to lock/unlock an instance.
Instead of converting this method to send a full instance over rpc
instead of just an instance UUID, this patch removes the usage of rpc
for this operation entirely. All it's doing is a database update. RPC
is expensive, so cut out the middle-man.
One functional difference with this approach is that the db update is
now synchronous on the API node, instead of kicking off an async message
to a compute node to handle it. This seems fine, though.
Part of blueprint no-db-messaging.
Change-Id: I15ceb7625425ab097eebd5b7dd3606a171329f97
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
