Exit Meilisearch after dump is imported #792
WilliamDEdwards
started this conversation in
Feedback & Feature Proposal
Replies: 1 comment 1 reply
-
Hi @WilliamDEdwards , thanks for sharing your feedback about the upgrade process. We agree that the current process is far from ideal, so you're not alone in wanting it to be simpler 😄 The good news is that we’re already working on a "Dumpless Upgrades" solution that will make version upgrades seamless without needing manual dump imports. This is planned for release in 2025. You can check out more about this on the public page (it's a work in progress, so it might change as we work on the feature) Thanks for sticking with us while we improve Meilisearch! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Situation:
meilisearch --import-dump
Problem: when the dump is imported, Meilisearch runs in the foreground. Instead, Meilisearch should quit immediately after importing the dump is done, so it can be started properly under systemd.
Otherwise,
--import-dump
has to be temporarily passed to the systemd service, then somehow one has to detect that the dump was imported, then the systemd service can be restarted without the argument. This is unnecessarily ugly and complex.Admittedly, it is possible to always pass
--import-dump
and ignore that when a database exists using--ignore-dump-if-db-exists
, but that's of the limited usefulness due to the instability of the dump path created byPOST /dumps
.Beta Was this translation helpful? Give feedback.
All reactions