canonical / mongodb-operator

Charmed solution for MongoDB
Apache License 2.0
12 stars 14 forks source link

[DPE-4157] Add upgrade basics #408

Closed MiaAltieri closed 6 months ago

MiaAltieri commented 7 months ago

Summary

Before implementing Upgrades add some of the boiler plate that is necessary for them. (i.e. Carl's event handlers + small changes for them to work with MongoDB)

Future PRs

  1. Adding in Carls fixes for upgrade code
  2. Support Upgrades
    • Implementing the actual upgrade procedure in machine_upgrades.py
    • Block other events from executing when an upgrade is in process
    • Set unit state to healthy in the correct places
  3. Adding in unit + integration tests