Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.13: Dumpless upgrades #3135

Open
2 tasks
guimachiavelli opened this issue Jan 28, 2025 · 0 comments · May be fixed by #3138
Open
2 tasks

v1.13: Dumpless upgrades #3135

guimachiavelli opened this issue Jan 28, 2025 · 0 comments · May be fixed by #3138
Milestone

Comments

@guimachiavelli
Copy link
Member

v1.13 introduces a new experimental CLI flag: --experimental-dumpless-upgrade. Using it simplifies the upgrading process, allowing people to simply update the binary and launch Meilisearch instead of having to generate dumps.

This feature is only publicly relevant for self-hosted users. It may also be useful for the cloud, but this would be an internal change without any visibility for customers.

New update process:

  1. download new binary
  2. interrupt meilisearch
  3. overwrite old binary
  4. relaunch with ./meilisearch --experimental-dumpless-upgrade

Warning

The dumpless upgrade is not currently atomic, so it's possible some processes fail and Meilisearch still finalizes the upgrade. If this happens, it may corrupt the database. Users should take a snapshot of their db before performing a dumpless upgrade.

Cloud updates remain the same: press update button.

Tasks

  • update learn/self_hosted/configure_meilisearch_at_launch.mdx
  • update learn/update_and_migration/updating.mdx

References

@guimachiavelli guimachiavelli added this to the v1.13 milestone Jan 28, 2025
@guimachiavelli guimachiavelli linked a pull request Feb 6, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant