Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Specify the new experimental replication parameters #266

Merged
merged 2 commits into from
Mar 12, 2024

Conversation

irevoire
Copy link
Member

Summary

Implemented in meilisearch/meilisearch#4042
Specify the new replication parameters; see https://github.com/orgs/meilisearch/discussions/725

@irevoire irevoire added Ready For Review Feature specification must be reviewed. Implemented Feature specification has been implemented. Telemetry Update the telemetry collect. 🧪 Experimental The PR describes an experimental feature. labels Feb 22, 2024
macraig
macraig previously approved these changes Feb 22, 2024
meili-bors bot added a commit to meilisearch/meilisearch that referenced this pull request Feb 26, 2024
4442: Send custom task r=ManyTheFish a=irevoire

This PR has already been merged on main but was supposed to be merged on `release-v1.7.0` thus we need to merge it a second time; sorry 😓 

### This PR implements the necessary parameters for the High Availability

Introduce a new CLI flag called `--experimental-replication-parameters` that changes a few behaviors in the engine:
- [The auto-deletion of tasks is disabled](https://specs.meilisearch.com/specifications/text/0060-tasks-api.html#_2-technical-details)
- Upon registering a task, you can choose its task ID by sending a new header: `TaskId: 456645`. It must be a valid number, which must be superior to the last task id ever seen.
- Add the ability to « dry-register » a task. That means meilisearch will answer to you with a valid task ID like everything went well, but won’t actually write anything in the database. To do that, you need to use the `DryRun: true` header.
- Specification’s here: meilisearch/specifications#266

Co-authored-by: Tamo <tamo@meilisearch.com>
@macraig macraig merged commit f3fb0fb into main Mar 12, 2024
2 checks passed
@macraig macraig deleted the new-replication-parameters branch March 12, 2024 18:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🧪 Experimental The PR describes an experimental feature. Implemented Feature specification has been implemented. Ready For Review Feature specification must be reviewed. Telemetry Update the telemetry collect.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants