Send as much DB traffic as possible from periodic tasks to DB slaves
Periodic tasks are some of the most consistent load that any deployment will experience. As such, and because of the nature of most periodic tasks, their reads are prime targets for DB slaves.
Blueprint information
- Status:
- Complete
- Approver:
- Russell Bryant
- Priority:
- Medium
- Drafter:
- Michael H Wilson
- Direction:
- Approved
- Assignee:
- Michael H Wilson
- Definition:
- Approved
- Series goal:
- Accepted for icehouse
- Implementation:
- Implemented
- Milestone target:
- 2014.1
- Started by
- Michael H Wilson
- Completed by
- John Garbutt
Whiteboard
I would have given a higher priority than Low to this normally, but it's just that it's a new blueprint toward the end of the cycle. I don't want to block if this doesn't make it. If this spills into Icehouse, I'll up the priority. --russellb
Gerrit topic: https:/
Addressed by: https:/
Allow _sync_power_states periodic task to hit slave DB
I think it's fine if the above patch lands in Havana. Since this blueprint covers much more than this first periodic task, I updated it for Icehouse, since that's when the vast majority of the changes will end up. --russellb
Addressed by: https:/
Allow all instance polling periodic tasks to hit db slave
Addressed by: https:/
Periodic task _poll_unconfirm
Addressed by: https:/
WIP Periodic task _heal_instance_
Addressed by: https:/
Allow _check_
Addressed by: https:/
Fix bug #1259383
Addressed by: https:/
Allow run_image_
I'm going to wait on Nikola Dipanov's object implementation of BDMS before I slaveify _cleanup_
for it to be pretty and workable. --geekinutah
Addressed by: https:/
Task cleanup_
We're passed the deadline for blueprint code to be proposed for Icehouse, but I think this one should get an exception since most of it has been completed. Let's leave this targeted to Icehouse for now. --russellb
I removed update_
Gerrit topic: https:/
patch moved to juno:
=======
https:/
(Note: stuck behind BDM changes)
Apologies, this missed the deadline for Feature Freeze. Marking this one as Implemented, so please open a new blueprint for the remaining patches. Please rebase patches as soon as Juno opens, and we will try to get this in during that period. --johnthetubaguy (5th March 2014)
This was subsequently merged as BDM got FFE. -geekinutah
Work Items
Work items:
slaveify _check_
slaveify _heal_instance_
slaveify _poll_rebooting
slaveify _poll_rescued_
slaveify _poll_unconfirm
slaveify _poll_shelved_
slaveify _poll_bandwidth
slaveify _sync_power_states: DONE
slaveify _reclaim_
slaveify _cleanup_
slaveify _run_image_
Dependency tree
* Blueprints in grey have been implemented.