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

Commit fd6c080

Browse files
committed
Precise priorization of dumpCreation task over other task types
1 parent 341eedf commit fd6c080

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

text/0105-dumps-api.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ The dumps exist to upgrade a MeiliSearch instance from a previous version to a m
2424
- By default, trying to import a dump that does not exist, will stop the process and throw an error.
2525
- When using the command-line flag `--ignore-missing-dump`, MeiliSearch will continue its process and not throw an error.
2626
- When a dump is being imported, the http API is not available. Meilisearch can't receive read or write requests.
27+
- `dumpCreation` task takes priority over enqueued `tasks`. This means that if a `dumpCreation` task is created, it will be directly processed when the current processing task finishes even if other tasks have been enqueued before.
2728

2829
---
2930

@@ -113,6 +114,10 @@ When a dump is being created, the task queue can receive other future operations
113114

114115
When a dump is being imported, the http API is not available. Meilisearch can't receive read or write requests.
115116

117+
### 4.3. Dump Creation Task Priority
118+
119+
Dump creation tasks have priority over other task types. If a `dumpCreation` task is enqueued, it will be directly processed when the current processing task finishes even if other tasks have been enqueued before.
120+
116121
## 5. Future Possibilities
117122

118123
- Give information about the import of a dump within the tasks.

0 commit comments

Comments
 (0)