Commit Graph

1061 Commits

Author SHA1 Message Date
43aa3ce1c7 Add the snapshots directory path to the IndexScheduler 2022-10-26 11:33:27 +02:00
2676268804 Patch the delete and cancel tasks routes 2022-10-26 11:11:53 +02:00
10716b9786 rename received_documents_ids to matched_documents 2022-10-25 12:06:01 +02:00
d0c93e3573 rename received_document_ids to matched_documents in the DocumentDeletion task type (reimplementation of #2826) 2022-10-25 11:02:26 +02:00
2a1f4ac4d9 remove a lot of unecessary clone and ref 2022-10-25 10:53:29 +02:00
3e45fdf7c5 rename the dumpExport to dumpCreation 2022-10-24 19:08:15 +02:00
581d8b0a94 move the error types to meilisearch-http 2022-10-24 17:53:14 +02:00
2b8b9e0418 Fix the /swap-indexes route API
1. payload
2. error messages
3. auth errors
2022-10-24 17:53:14 +02:00
3f5622f749 fix the task view and forward the task db size 2022-10-23 11:23:24 +02:00
b0bfc3bdbd reformat 2022-10-22 17:06:20 +02:00
3283bb0454 fix clippy 2022-10-22 17:04:47 +02:00
94270f882a ignore the snapshot test 2022-10-22 16:07:55 +02:00
8bda5e0787 fix the autobatched document deletion 2022-10-22 16:07:55 +02:00
dca8bc4a15 ensure the indexUid is valid in most cases 2022-10-22 16:07:55 +02:00
c57804f5b1 ensure the index_uid is valid when creating an index 2022-10-22 16:07:55 +02:00
d507e6ddac fix the invalid index uid errors 2022-10-22 16:07:55 +02:00
621dbb8159 fix most content file error 2022-10-22 16:07:55 +02:00
e0b6206097 fix the payload too large error 2022-10-22 16:07:55 +02:00
950606cd36 fix the api keys for the tasks route 2022-10-22 16:07:55 +02:00
8a39be9d41 fix the deletion of the data.ms in case of failure 2022-10-22 16:07:55 +02:00
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
5bb9023722 fix the error messages and the index stats 2022-10-22 16:07:55 +02:00
85d567e878 Sort the TOML dependencies 2022-10-20 18:03:35 +02:00
3f6bd7fb11 Introduce a rustfmt file 2022-10-20 18:00:07 +02:00
dd57e051d7 Reapply #2890 2022-10-20 17:44:15 +02:00
2d86304701 Reapply #2839 2022-10-20 17:38:57 +02:00
e35bd263df Fix final compilation 2022-10-20 17:08:52 +02:00
cf58a76faf Fix the new config file with the index scheduler 2022-10-20 16:49:19 +02:00
22d514645e Don't return an error when swapping 0 indexes 2022-10-20 16:39:23 +02:00
14a44776f6 Implement POST /indexes-swap 2022-10-20 16:39:23 +02:00
835745ac22 Add some documentation to the index scheduler 2022-10-20 16:39:22 +02:00
5205c7dcc7 Fix date parsing for task queries
Use rfc3339 or YYYY-MM-DD.

Add a day to the parsed date when it is an excluded lower bound
and the YYYY-MM-DD was used.

Also the Query type does not need to be serialisable anymore
2022-10-20 16:39:22 +02:00
af508b9a81 Apply suggestions from code review
Co-authored-by: Clément Renault <clement@meilisearch.com>

Apply suggestions from code review

Co-authored-by: Clément Renault <clement@meilisearch.com>
Co-authored-by: Tamo <tamo@meilisearch.com>

Apply suggestions from code review

Co-authored-by: Clément Renault <clement@meilisearch.com>
Co-authored-by: Tamo <tamo@meilisearch.com>

Apply code review suggestion

Co-authored-by: Clément Renault <clement@meilisearch.com>
2022-10-20 16:39:22 +02:00
1eeef1c1c8 Implement task date filters
before/after enqueued/started/finished at
2022-10-20 16:39:21 +02:00
07db4cfab0 Prefer using an u64 instead of a usize in some places 2022-10-20 16:37:27 +02:00
4f1c0535b4 Use a tokio block_in_place method for potentially blocking tasks 2022-10-20 16:37:27 +02:00
afafe8d207 Put the original URL query in the tasks details 2022-10-20 16:37:26 +02:00
973e2f71eb Add the tasks cancel route to cancel tasks 2022-10-20 16:37:26 +02:00
01ed1fb128 Update the canceledBy and finishedAt fields 2022-10-20 16:37:26 +02:00
74657bba2c Introduce the core algorithm of task cancelation 2022-10-20 16:37:26 +02:00
bcb7d1744a Introduce the task cancelation task type 2022-10-20 16:35:06 +02:00
7308ccd530 make the tests compile again 2022-10-20 16:34:32 +02:00
656f809b1d fix the analytics 2022-10-20 16:26:17 +02:00
65e69c06bc extract the create_app function for the tests 2022-10-20 16:26:17 +02:00
4921e926e5 fix meilisearch-http 2022-10-20 16:14:37 +02:00
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
860d343831 get rids of the useless Seek before creating a grenad reader 2022-10-20 16:14:36 +02:00
b87b071718 apply most style comments of the review 2022-10-20 16:14:36 +02:00
6987bc185e fix a synchronization bug while importing tasks 2022-10-20 16:13:18 +02:00
54d4d364c2 fix the deletion of the data.ms in case of errors 2022-10-20 16:13:17 +02:00