Commit Graph

4333 Commits

Author SHA1 Message Date
Irevoire
37119d1295
reformat 2022-10-25 10:59:06 +02:00
Irevoire
4dabd2b8e7
fix clippy 2022-10-25 10:58:55 +02:00
Irevoire
2a1f4ac4d9
remove a lot of unecessary clone and ref 2022-10-25 10:53:29 +02:00
Loïc Lecrenier
6f418e73d0 Apply code review suggestions 2022-10-25 10:47:36 +02:00
Loïc Lecrenier
57c07a533a Revert implementation of get_status to query only the database 2022-10-25 10:47:36 +02:00
Loïc Lecrenier
c0a58f9141 Pause the index scheduler for one second when a fatal error occurs 2022-10-25 10:47:36 +02:00
Loïc Lecrenier
44b8c8b713 Fix (hopefully) queries that include processing tasks 2022-10-25 10:47:36 +02:00
Loïc Lecrenier
c562e380a0 Adjust task details correctly following index swap 2022-10-25 10:47:36 +02:00
Loïc Lecrenier
dd7d758a6f Start testing unexpected errors and panics in index scheduler 2022-10-25 10:47:36 +02:00
Loïc Lecrenier
6d9140115f Add assert method to verify validity of index scheduler state 2022-10-25 10:47:36 +02:00
Irevoire
3e45fdf7c5
rename the dumpExport to dumpCreation 2022-10-24 19:08:15 +02:00
Irevoire
581d8b0a94 move the error types to meilisearch-http 2022-10-24 17:53:14 +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
Loïc Lecrenier
b74e009084 meili-snap: get the test name from the name of the function 2022-10-24 17:25:08 +02:00
Loïc Lecrenier
7fe392dc60 Only store full snapshots if env variable is set to true 2022-10-24 17:25:08 +02:00
Irevoire
3f5622f749
fix the task view and forward the task db size 2022-10-23 11:23:24 +02:00
Irevoire
395766bf26
fix clippy 2022-10-22 17:17:09 +02:00
Irevoire
b0bfc3bdbd
reformat 2022-10-22 17:06:20 +02:00
Irevoire
3a95e6291e
remove ununsed function 2022-10-22 17:05:33 +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
b910e65a1d update all the snapshots with the new kind name 2022-10-22 16:24:48 +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
94270f882a ignore the snapshot test 2022-10-22 16:07:55 +02:00
Irevoire
3610a6ee8f remove the public DocumentClear variant 2022-10-22 16:07:55 +02:00
Irevoire
8bda5e0787 fix the autobatched document deletion 2022-10-22 16:07:55 +02:00
Irevoire
dca8bc4a15 ensure the indexUid is valid in most cases 2022-10-22 16:07:55 +02:00
Irevoire
2387db8ab7 fix the index creation in case an index already exists 2022-10-22 16:07:55 +02:00
Irevoire
c57804f5b1 ensure the index_uid is valid when creating an index 2022-10-22 16:07:55 +02:00
Irevoire
9219bec053 fix the failed document addition with a primary key 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
621dbb8159 fix most content file error 2022-10-22 16:07:55 +02:00
Irevoire
e0b6206097 fix the payload too large error 2022-10-22 16:07:55 +02:00
Irevoire
950606cd36 fix the api keys for the tasks route 2022-10-22 16:07:55 +02:00
Irevoire
8a39be9d41 fix the deletion of the data.ms in case of failure 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
Irevoire
5bb9023722 fix the error messages and the index stats 2022-10-22 16:07:55 +02:00
Irevoire
e495e2ec9d
fix the index creation 2022-10-21 13:58:58 +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
dd57e051d7
Reapply #2890 2022-10-20 17:44:15 +02:00
Clément Renault
2d86304701
Reapply #2839 2022-10-20 17:38:57 +02:00
Clément Renault
5dd9ba3079
Reapply #2819 2022-10-20 17:35:22 +02:00
Clément Renault
2338eff20b
Reapply #2830 2022-10-20 17:33:31 +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
Clément Renault
eae2c353eb
Remove once for all the meilisearch-lib crate 2022-10-20 17:21:37 +02:00
Clément Renault
e35bd263df
Fix final compilation 2022-10-20 17:08:52 +02:00
Clément Renault
cf58a76faf
Fix the new config file with the index scheduler 2022-10-20 16:49:19 +02:00
Clément Renault
2a51161258
Fix allow_index_creation useless field 2022-10-20 16:39:25 +02:00