Closed frenck closed 8 months ago
However, the PR listed, doesn't take that into account (no migration).
Ah definitely no idea about this :-/ Migration seems tricky, and might need to involve an intermediate 3.6 mongodb instance in order to mongodbdump the old data, and then try to restore it in the new mongodb instance. How sophisticated can we get in the HA upgrade machinery? :) Run commands in the old addon image before the upgrade? or have the new addon pull a second container it will use for the migration?
One alternative would be to install 3.6 on the 9.0.4 image, which might be doable. Not great as this has been EOL'ed for about 3 years now
Reverts hassio-addons/addon-unifi#491
As this breaks existing installations. The new MongoDB version removes the deprecated mmap engine, and makes WiredTiger the new default. However, the PR listed, doesn't take that into account (no migration).
This shipping this, would break the add-on.
/CC @cfergeau