7b8641a7af
fix the dump tests
...
The issue was linked to the fact that the debug implementation of the PhantomData wasn't the same between rust stable and rust nightly.
This was causing an issue while snapshsotting the settings and this commit fix it by representing the settings as json which already ignores the PhantomData
2022-11-23 16:59:20 +01:00
510afda590
remove unused import
2022-10-30 20:05:20 +01:00
fea9fdcd7e
fix the dump reader process when no instance-uid was specified
2022-10-30 20:00:27 +01:00
68f80dbacf
Update version for the next release (v0.30.0) in Cargo.toml files
2022-10-27 11:35:44 +00:00
225405bb0d
ignore the dump tests
2022-10-27 11:35:22 +02:00
6aa816d96a
use meili-snap in the dump
2022-10-27 11:35:22 +02:00
866a3676eb
reupload the test fix for the dump
2022-10-27 11:35:22 +02:00
fa84eae0f1
Insta review and fix insta snapshots
2022-10-27 11:35:21 +02:00
3979c9f02b
fix all the dump snasphots
2022-10-27 11:35:20 +02:00
314b89ca30
Fix insta snapshots
2022-10-27 11:35:20 +02:00
0ba6253eed
fix the sort
2022-10-27 11:35:19 +02:00
e8cd571820
try to convert the OsStr to a rust string to fix the sort
2022-10-27 11:35:19 +02:00
e641d08846
Cargo fmt
2022-10-27 11:35:18 +02:00
1f75caae88
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-27 11:35:17 +02:00
a16604af80
fix all the tests
2022-10-27 11:35:17 +02:00
2de8a0711a
Cargo insta test/review
2022-10-27 11:35:16 +02:00
7074872a78
cargo insta accept
2022-10-27 11:35:15 +02:00
e0548e42e7
Rename the Snapshot task into SnapshotCreation
2022-10-27 11:35:14 +02:00
0aca5e84b9
rename received_document_ids to matched_documents in the DocumentDeletion task type (reimplementation of #2826 )
2022-10-27 11:35:12 +02:00
7e52f1effb
remove a lot of unecessary clone and ref
2022-10-27 11:35:11 +02:00
ecf4e43b3d
rename the dumpExport to dumpCreation
2022-10-27 11:35:10 +02:00
eb4bdde432
fix clippy
2022-10-27 11:35:09 +02:00
e9055f5572
fix clippy
2022-10-27 11:35:08 +02:00
de7d4200d8
fix the snapshot tests of the dump after renaming a bunch of kinds
2022-10-27 11:35:08 +02:00
8d1408c65e
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-27 11:35:05 +02:00
32cfac0cfd
Sort the TOML dependencies
2022-10-27 11:35:05 +02:00
80b2e70ee7
Introduce a rustfmt file
2022-10-27 11:35:05 +02:00
17cd2a4aa0
Implement POST /indexes-swap
2022-10-27 11:34:15 +02:00
66c3b93ef1
fix all the snapshot tests in the dump
2022-10-27 11:34:15 +02:00
6730e190db
fix the dumps tests since we added informations in the DumpTask
2022-10-27 11:34:13 +02:00
290945e258
Update the canceledBy and finishedAt fields
2022-10-27 11:34:11 +02:00
725158b454
Introduce the core algorithm of task cancelation
2022-10-27 11:34:11 +02:00
591527a99d
Prefer using TaskDeletion in the dumps
2022-10-27 11:34:11 +02:00
1ca9a67c49
Introduce the task cancelation task type
2022-10-27 11:34:11 +02:00
6bd6321226
dump the content of the dump tasks instead of recreating at import time with wrong API keys
2022-10-27 11:34:08 +02:00
83f3c5ec57
flush the dump-writer only once everything has been inserted
2022-10-27 11:34:08 +02:00
78ce29f461
apply most style comments of the review
2022-10-27 11:34:08 +02:00
dd70daaae3
Update dump/src/error.rs
...
Co-authored-by: Clément Renault <clement@meilisearch.com >
2022-10-27 11:34:08 +02:00
d0e91555d1
rebase on index-scheduler
2022-10-27 11:34:08 +02:00
a9eeb070b8
fix all the errors code and settings issues when importing a dump v2
2022-10-27 11:34:07 +02:00
3872a1b8d1
fix all the error codes
2022-10-27 11:34:07 +02:00
955d3339f0
remove the dbg
2022-10-27 11:34:06 +02:00
208c785697
add a bufwriter on the documents
2022-10-27 11:34:06 +02:00
d976e680c5
first mostly working version
2022-10-27 11:34:06 +02:00
c051166bcc
update the API a little bit
2022-10-27 11:34:05 +02:00
72a906ae75
fix the tests
2022-10-27 11:34:05 +02:00
b7f9c94f4a
write the dump export
2022-10-27 11:34:05 +02:00
7034803712
move the API key in meilisearch_types
2022-10-27 11:34:02 +02:00
c192146fbe
remove an unused file
2022-10-27 11:34:02 +02:00
2f1eb78b1d
refactor the Task a little bit
2022-10-27 11:34:02 +02:00