Commit Graph

71 Commits

Author SHA1 Message Date
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
Irevoire
2a1f4ac4d9
remove a lot of unecessary clone and ref 2022-10-25 10:53:29 +02:00
Irevoire
3e45fdf7c5
rename the dumpExport to dumpCreation 2022-10-24 19:08:15 +02:00
Irevoire
395766bf26
fix clippy 2022-10-22 17:17:09 +02:00
Irevoire
3283bb0454
fix clippy 2022-10-22 17:04:47 +02:00
Irevoire
948f7bb49f fix the snapshot tests of the dump after renaming a bunch of kinds 2022-10-22 16:24:48 +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
Loïc Lecrenier
14a44776f6
Implement POST /indexes-swap 2022-10-20 16:39:23 +02:00
Irevoire
2f54dade04
fix all the snapshot tests in the dump 2022-10-20 16:39:22 +02:00
Tamo
49b14064c2
fix the dumps tests since we added informations in the DumpTask 2022-10-20 16:37:28 +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
607a0600e5
Prefer using TaskDeletion in the dumps 2022-10-20 16:35:06 +02:00
Kerollmops
bcb7d1744a
Introduce the task cancelation task type 2022-10-20 16:35:06 +02:00
Tamo
dbcc3456c6
dump the content of the dump tasks instead of recreating at import time with wrong API keys 2022-10-20 16:14:36 +02:00
Tamo
8e469d8d1d
flush the dump-writer only once everything has been inserted 2022-10-20 16:14:36 +02:00
Tamo
b87b071718
apply most style comments of the review 2022-10-20 16:14:36 +02:00
Tamo
e220cc2183
Update dump/src/error.rs
Co-authored-by: Clément Renault <clement@meilisearch.com>
2022-10-20 16:14:36 +02:00
Tamo
458a531547
rebase on index-scheduler 2022-10-20 16:14:35 +02:00
Tamo
a2384dc627
fix all the errors code and settings issues when importing a dump v2 2022-10-20 16:13:18 +02:00
Tamo
bab0e050f1
fix all the error codes 2022-10-20 16:13:18 +02:00
Tamo
4c1c108a19
remove the dbg 2022-10-20 16:13:17 +02:00
Tamo
ede46b716c
add a bufwriter on the documents 2022-10-20 16:13:16 +02:00
Tamo
cac924b663
first mostly working version 2022-10-20 16:13:16 +02:00
Tamo
6fae317277
update the API a little bit 2022-10-20 16:12:26 +02:00
Tamo
1a3fea4d8c
fix the tests 2022-10-20 16:12:26 +02:00
Tamo
9323f9f1c4
write the dump export 2022-10-20 16:12:25 +02:00
Tamo
dc1d739785
move the API key in meilisearch_types 2022-10-20 16:00:58 +02:00
Tamo
c9050759f5
remove an unused file 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
974b40ba04
store md5 instead of the whole snapshots 2022-10-20 15:59:30 +02:00
Tamo
8a32b766c6
fix all the import and comment most of the dump v6 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
4777449cc3
remove unused files 2022-10-20 15:44:57 +02:00
Tamo
baa67fade2
fix the tests 2022-10-20 15:44:57 +02:00
Tamo
997e7450d4
write a bunch of tests that goes through the whole compat layers 2022-10-20 15:44:57 +02:00
Tamo
bd509f3593
remove the warnings 2022-10-20 15:44:57 +02:00
Tamo
704b9566e4
rewrite the update file API 2022-10-20 15:44:56 +02:00
Tamo
d8ac2a0063
finish the dump reader API, the dump Writer API now needs to be updated 2022-10-20 15:44:56 +02:00
Tamo
2db486ad90
start dumping the update files to a known format 2022-10-20 15:44:56 +02:00
Tamo
170af0c9bd
fix the compat between v3 and v4 2022-10-20 15:44:56 +02:00
Tamo
392e2829f8
remove the ununsed snapshot files 2022-10-20 15:44:56 +02:00
Tamo
50dfe06efe
remove all warnings 2022-10-20 15:44:55 +02:00
Tamo
1a20ef2a79
write the compat layer from v2 to v3 2022-10-20 15:44:55 +02:00
Tamo
0c8e690675
remove old compat files 2022-10-20 15:44:55 +02:00
Tamo
70e3308e8c
write the dump v2 import 2022-10-20 15:44:55 +02:00
Tamo
2a7a6f9a30
make the open function public 2022-10-20 15:44:55 +02:00