canonical / mongodb-k8s-operator

Operator charm for MongoDB
Apache License 2.0
13 stars 15 forks source link

[DPE-4874] [DPE-4868] [DPE-4870] Update libs for log rotate #264

Closed MiaAltieri closed 3 months ago

MiaAltieri commented 3 months ago

Problem

The code for supporting log rotate is on the shared mongodb libs for v1 - this charm uses mostly v0 libs

Solution

  1. Update the necessary libs for log rotation to v1
  2. Make corresponding changes in the charm such that these changes do not break the charm
  3. 1+2 break tests, update them.

Future work

  1. Update all remaining libs to their associated v1 version
  2. Implement log rotate
  3. Further improve Ha tests once log rotate is fully added