Skip to content

Commit 06cc61b

Browse files
fix task type name
1 parent 061b632 commit 06cc61b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

learn/update_and_migration/updating.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ Cancelling the update task automatically rolls back your database to its state b
164164

165165
After launching Meilisearch with `--experimental-dumpless-upgrade` flag:
166166

167-
1. Cancel the `databaseUpgrade` task
167+
1. Cancel the `upgradeDatabase` task
168168
2. If you cancelled the update before it failed, skip to the next step. If the update failed, relaunch Meilisearch using the binary of the version you were upgrading to
169169
3. Wait for Meilisearch to process your cancellation request
170170
4. Replace the new binary with the binary of the previous version

reference/api/tasks.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ This value is always `null` for [global tasks](/learn/async/asynchronous_operati
7474
### `type`
7575

7676
**Type**: String<br />
77-
**Description**: Type of operation performed by the task. Possible values are `indexCreation`, `indexUpdate`, `indexDeletion`, `indexSwap`, `documentAdditionOrUpdate`, `documentDeletion`, `settingsUpdate`, `dumpCreation`, `taskCancelation`, `taskDeletion`, `databaseUpgrade`, `documentEdition`, and `snapshotCreation`
77+
**Description**: Type of operation performed by the task. Possible values are `indexCreation`, `indexUpdate`, `indexDeletion`, `indexSwap`, `documentAdditionOrUpdate`, `documentDeletion`, `settingsUpdate`, `dumpCreation`, `taskCancelation`, `taskDeletion`, `upgradeDatabase`, `documentEdition`, and `snapshotCreation`
7878

7979
### `canceledBy`
8080

0 commit comments

Comments
 (0)