Use Centralized database for caching
We use two different database(s) for glance. One is centralized database managed by oslo.db (default is MySql) for storing information related to regular operations and sqlite for storing information about caching related operations. Even though sqlite database is only created if we enable cache middleware we still need to maintain it along with centralized database. Also glance caches are local to each controller node (glance api service), so in case of multiple glance services running we have multiple sqlite database(s) operational.
Blueprint information
- Status:
- Not started
- Approver:
- Pranali Deore
- Priority:
- Undefined
- Drafter:
- Abhishek Kekane
- Direction:
- Needs approval
- Assignee:
- Abhishek Kekane
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Add required database API(s) for cache
Addressed by: https:/
Introduce centralized database driver for image cache
Addressed by: https:/
Read global config file for cache utilities
Addressed by: https:/
Move sqlite code in common module
Addressed by: https:/
Migrate from SQLite to Centralized db