Commit Graph

90 Commits

Author SHA1 Message Date
Loïc Lecrenier
9207ba68db Fix a few index swap bugs.
1. Details of the indexSwap task
2. Query tasks with type=indexUid
3. Synchronous error message for multiple index not found
2022-10-26 13:00:27 +02:00
Kerollmops
90f1334757 Compress the snapshot in a tarball 2022-10-26 11:33:27 +02:00
Kerollmops
19910f912d Reintroduce the versioning functions 2022-10-26 11:33:27 +02:00
Kerollmops
67566af599 Implement a first version of the snapshots 2022-10-26 11:33:27 +02:00
Kerollmops
e65f82bc86 Rename the Snapshot task into SnapshotCreation 2022-10-26 11:33:27 +02:00
Clément Renault
0218d94054
Merge pull request #2956 from meilisearch/index-swap-empty-crash
Fix crash when batching an index swap task containing 0 swaps
2022-10-25 11:12:35 +02:00
Irevoire
d0c93e3573
rename received_document_ids to matched_documents in the DocumentDeletion task type (reimplementation of #2826) 2022-10-25 11:02:26 +02:00
Loïc Lecrenier
8d5d92f927 Fix crash when batching an index swap task containing 0 swaps 2022-10-25 10:57:03 +02:00
Irevoire
3e45fdf7c5
rename the dumpExport to dumpCreation 2022-10-24 19:08:15 +02:00
Loïc Lecrenier
2b8b9e0418 Fix the /swap-indexes route API
1. payload
2. error messages
3. auth errors
2022-10-24 17:53:14 +02:00
Irevoire
3283bb0454
fix clippy 2022-10-22 17:04:47 +02:00
Irevoire
e35bc48ba6 fix all the snapshots 2022-10-22 16:24:48 +02:00
Irevoire
3610a6ee8f remove the public DocumentClear variant 2022-10-22 16:07:55 +02:00
Irevoire
d507e6ddac fix the invalid index uid errors 2022-10-22 16:07:55 +02:00
Irevoire
d065a3e4f0 fix the import of the dumpv4&v5 when there is no instance-uid + rename the Kind+KindWithContent+Details variant for the DocumentImport and the Setting 2022-10-22 16:07:55 +02:00
Clément Renault
85d567e878
Sort the TOML dependencies 2022-10-20 18:03:35 +02:00
Clément Renault
3f6bd7fb11
Introduce a rustfmt file 2022-10-20 18:00:07 +02:00
Clément Renault
5dd9ba3079
Reapply #2819 2022-10-20 17:35:22 +02:00
Clément Renault
d01d29764e
Reapply #2773 2022-10-20 17:27:15 +02:00
Clément Renault
5e8a34ea13
Reapply #2727 2022-10-20 17:24:15 +02:00
Loïc Lecrenier
14a44776f6
Implement POST /indexes-swap 2022-10-20 16:39:23 +02:00
Irevoire
f3c2be1eb5
fix the auto-generated details 2022-10-20 16:37:29 +02:00
Kerollmops
07db4cfab0
Prefer using an u64 instead of a usize in some places 2022-10-20 16:37:27 +02:00
Kerollmops
afafe8d207
Put the original URL query in the tasks details 2022-10-20 16:37:26 +02:00
Kerollmops
973e2f71eb
Add the tasks cancel route to cancel tasks 2022-10-20 16:37:26 +02:00
Kerollmops
01ed1fb128
Update the canceledBy and finishedAt fields 2022-10-20 16:37:26 +02:00
Kerollmops
74657bba2c
Introduce the core algorithm of task cancelation 2022-10-20 16:37:26 +02:00
Kerollmops
6276b2a382
Add more enum-iterator related stuff 2022-10-20 16:37:26 +02:00
Kerollmops
bcb7d1744a
Introduce the task cancelation task type 2022-10-20 16:35:06 +02:00
Kerollmops
4a7b5c7836
Add the canceled task status 2022-10-20 16:35:05 +02:00
Kerollmops
47168c613d
Use the indexation-abortion milli's branch 2022-10-20 16:35:05 +02:00
Tamo
aff67f78c1
bump enum-iter and fix a bunch of error messages 2022-10-20 16:24:23 +02:00
Tamo
99f1d5df20
fix the tests 2022-10-20 16:14:37 +02:00
Tamo
458a531547
rebase on index-scheduler 2022-10-20 16:14:35 +02:00
Tamo
cac924b663
first mostly working version 2022-10-20 16:13:16 +02:00
Tamo
9323f9f1c4
write the dump export 2022-10-20 16:12:25 +02:00
Loïc Lecrenier
dabc30d3d6
Return an error when calling DELETE /tasks with an empty query 2022-10-20 16:09:32 +02:00
Loïc Lecrenier
9067148270
Apply suggested changes from PR review 2022-10-20 16:09:32 +02:00
Loïc Lecrenier
012c3e986c
Finish first draft of the DELETE /tasks route 2022-10-20 16:09:32 +02:00
Loïc Lecrenier
ef3e9e87f5
Continue implementation of task deletion
1. Matched tasks are a roaring bitmap
2. Start implementation in meilisearch-http
3. Snapshots use meili-snap
4. Rename to TaskDeletion
2022-10-20 16:08:16 +02:00
Tamo
dc1d739785
move the API key in meilisearch_types 2022-10-20 16:00:58 +02:00
Tamo
c0a6f7a021
uncomment a task serialization test 2022-10-20 15:59:53 +02:00
Tamo
e533e740d4
refactor the Task a little bit 2022-10-20 15:59:52 +02:00
Tamo
e6c033bd6b
start moving a lot of task types to meilisearch_types 2022-10-20 15:59:52 +02:00
Tamo
d8bbe18d71
push the document_format and settings I forgot in the previous PR 2022-10-20 15:57:53 +02:00
Tamo
f456fb5e0b
get rids of the index crate + the document_types crate 2022-10-20 15:57:52 +02:00
Tamo
4958bf3a55
start writting the compat layer between v5 and v6 2022-10-20 15:44:52 +02:00
Kerollmops
b7898cd4ab
Implement ErrorCode on the heed Error 2022-10-20 15:44:33 +02:00
Kerollmops
b83710ea98
Implement ErrorCode on the milli::Error type 2022-10-20 15:44:32 +02:00
Tamo
2d31cff082
get rids of meilisearch-lib 2022-10-20 15:42:44 +02:00