senlin/senlin/objects
Jude Cross 9f49cfdfb2 Fix Senlin performance issues
This patch fixes the interaction of Senlin with the database.
The standard model_query (joinload_all('*')) has been removed
in favor of using more distinctive join statements.

Additionally this patch removes the DB calls that were baked into the
to_dict() method for the Senlin objects and instead retrieves that
data with joins/single database calls. This allows cluster action
show to actually return within an appropriate amount of time.

This patch improves performance all around with considerably less CPU
usage.

Closes-Bug: #1817604
Change-Id: Ie5c1fca080c82833941edc130568e76701ce394c
2019-02-28 17:27:30 -08:00
..
requests Add force to action_update 2018-12-21 15:35:06 -08:00
__init__.py Merge "Add get-revision requests in object and service" 2016-12-23 09:24:27 +00:00
action.py Fix Senlin performance issues 2019-02-28 17:27:30 -08:00
base.py Fix py35 API test flake 2018-02-25 14:56:40 +00:00
cluster.py Fix Senlin performance issues 2019-02-28 17:27:30 -08:00
cluster_lock.py Reject actions if target resource is locked 2018-10-10 16:46:10 +00:00
cluster_policy.py Fix cooldown check 2018-10-09 18:04:43 -07:00
credential.py Minor tweak versioned object implementation 2016-06-02 21:56:04 -04:00
dependency.py Simplify ovo fields/base import 2016-06-01 23:24:07 -04:00
event.py Revise UUID field checking 2017-01-30 07:20:37 -05:00
fields.py Fix Senlin performance issues 2019-02-28 17:27:30 -08:00
health_registry.py Add node poll url detection type to health policy 2018-06-26 00:56:19 +00:00
node.py Fix Senlin performance issues 2019-02-28 17:27:30 -08:00
node_lock.py Reject actions if target resource is locked 2018-10-10 16:46:10 +00:00
notification.py physical id may not be a uuid 2017-08-05 10:04:22 -07:00
policy.py use policy_obj to load policy objects 2016-12-21 15:01:56 +08:00
profile.py rework profile-get2/list2 2016-12-20 11:29:05 +08:00
receiver.py Add receiver update interface engine service support 2017-05-30 21:40:31 +08:00
service.py Remove context from service db apis 2017-02-19 22:00:32 -05:00