Kerollmops
|
3cbfacb616
|
Prefer using an u64 instead of a usize in some places
|
2022-10-27 11:34:12 +02:00 |
|
Kerollmops
|
79c4275bfc
|
Delete the persisted data when we cancel a task
|
2022-10-27 11:34:12 +02:00 |
|
Kerollmops
|
f9c8fe5eaa
|
Use a tokio block_in_place method for potentially blocking tasks
|
2022-10-27 11:34:12 +02:00 |
|
Kerollmops
|
c2ec4a089b
|
Put the original URL query in the tasks details
|
2022-10-27 11:34:12 +02:00 |
|
Kerollmops
|
751e9bac3b
|
Add the tasks cancel route to cancel tasks
|
2022-10-27 11:34:11 +02:00 |
|
Kerollmops
|
290945e258
|
Update the canceledBy and finishedAt fields
|
2022-10-27 11:34:11 +02:00 |
|
Kerollmops
|
725158b454
|
Introduce the core algorithm of task cancelation
|
2022-10-27 11:34:11 +02:00 |
|
Kerollmops
|
b2c5bc67b7
|
Add more enum-iterator related stuff
|
2022-10-27 11:34:11 +02:00 |
|
Kerollmops
|
591527a99d
|
Prefer using TaskDeletion in the dumps
|
2022-10-27 11:34:11 +02:00 |
|
Kerollmops
|
1ca9a67c49
|
Introduce the task cancelation task type
|
2022-10-27 11:34:11 +02:00 |
|
Kerollmops
|
f177c97671
|
Add the canceled task status
|
2022-10-27 11:34:10 +02:00 |
|
Kerollmops
|
703ba7a1fb
|
Introduce the ProcessingTasks struct
|
2022-10-27 11:34:10 +02:00 |
|
Kerollmops
|
c9523c6f39
|
Use the indexation-abortion milli's branch
|
2022-10-27 11:34:10 +02:00 |
|
Kerollmops
|
e645c4c4d6
|
Remove the meilisearch-auth milli dependency
|
2022-10-27 11:34:10 +02:00 |
|
Loïc Lecrenier
|
ea60d35c71
|
Delete a task's persisted data when appropriate
|
2022-10-27 11:34:10 +02:00 |
|
Tamo
|
f7e546eea3
|
make the tests compile again
|
2022-10-27 11:34:10 +02:00 |
|
Tamo
|
b45c430165
|
fix the analytics
|
2022-10-27 11:34:10 +02:00 |
|
Tamo
|
634eb52926
|
extract the create_app function for the tests
|
2022-10-27 11:34:09 +02:00 |
|
Tamo
|
d1a6fb2971
|
bump enum-iter and fix a bunch of error messages
|
2022-10-27 11:34:09 +02:00 |
|
Tamo
|
bea81ae37b
|
fix meilisearch-http
|
2022-10-27 11:34:09 +02:00 |
|
Tamo
|
9e85f050b2
|
fix the tests
|
2022-10-27 11:34:09 +02:00 |
|
Tamo
|
2f748480a1
|
share the rtxn between the access to the tasks and to the indexes
|
2022-10-27 11:34:09 +02:00 |
|
Tamo
|
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 |
|
Tamo
|
655705eb2b
|
remove useless todo
|
2022-10-27 11:34:08 +02:00 |
|
Tamo
|
9fe24fbff2
|
get rids of the useless Seek before creating a grenad reader
|
2022-10-27 11:34:08 +02:00 |
|
Tamo
|
83f3c5ec57
|
flush the dump-writer only once everything has been inserted
|
2022-10-27 11:34:08 +02:00 |
|
Tamo
|
78ce29f461
|
apply most style comments of the review
|
2022-10-27 11:34:08 +02:00 |
|
Tamo
|
dd70daaae3
|
Update dump/src/error.rs
Co-authored-by: Clément Renault <clement@meilisearch.com>
|
2022-10-27 11:34:08 +02:00 |
|
Tamo
|
d0e91555d1
|
rebase on index-scheduler
|
2022-10-27 11:34:08 +02:00 |
|
Tamo
|
e0221fc0a3
|
fix a synchronization bug while importing tasks
|
2022-10-27 11:34:07 +02:00 |
|
Tamo
|
a9eeb070b8
|
fix all the errors code and settings issues when importing a dump v2
|
2022-10-27 11:34:07 +02:00 |
|
Tamo
|
3872a1b8d1
|
fix all the error codes
|
2022-10-27 11:34:07 +02:00 |
|
Tamo
|
ba150f2127
|
commit after creating an index
|
2022-10-27 11:34:07 +02:00 |
|
Tamo
|
554600dfd8
|
fix the deletion of the data.ms in case of errors
|
2022-10-27 11:34:07 +02:00 |
|
Tamo
|
e9295c03ce
|
the index-scheduler needs to wake-up after importing a dump
|
2022-10-27 11:34:06 +02:00 |
|
Tamo
|
955d3339f0
|
remove the dbg
|
2022-10-27 11:34:06 +02:00 |
|
Tamo
|
d481669b7e
|
fix the content_file import
|
2022-10-27 11:34:06 +02:00 |
|
Tamo
|
dd506e5d87
|
stop dumping the current dumping task as enqueued so it's not looping for ever
|
2022-10-27 11:34:06 +02:00 |
|
Tamo
|
208c785697
|
add a bufwriter on the documents
|
2022-10-27 11:34:06 +02:00 |
|
Tamo
|
d976e680c5
|
first mostly working version
|
2022-10-27 11:34:06 +02:00 |
|
Tamo
|
c051166bcc
|
update the API a little bit
|
2022-10-27 11:34:05 +02:00 |
|
Tamo
|
72a906ae75
|
fix the tests
|
2022-10-27 11:34:05 +02:00 |
|
Tamo
|
b7f9c94f4a
|
write the dump export
|
2022-10-27 11:34:05 +02:00 |
|
Loïc Lecrenier
|
8954b1bd1d
|
Fix number of deleted tasks details after duplicate task deletion
|
2022-10-27 11:34:05 +02:00 |
|
Loïc Lecrenier
|
8defad6c38
|
Add task deletion tests where the same task is deleted twice
|
2022-10-27 11:34:05 +02:00 |
|
Loïc Lecrenier
|
f32b973945
|
Return an error when calling DELETE /tasks with an empty query
|
2022-10-27 11:34:04 +02:00 |
|
Loïc Lecrenier
|
fbd2be2ec8
|
Apply suggested changes from PR review
|
2022-10-27 11:34:04 +02:00 |
|
Loïc Lecrenier
|
441417447e
|
Avoid creating two read txn at the same time
|
2022-10-27 11:34:04 +02:00 |
|
Loïc Lecrenier
|
8c6aeaada5
|
Update snapshot tests following git rebase that fixes a bug
|
2022-10-27 11:34:04 +02:00 |
|
Loïc Lecrenier
|
8bb0fcd144
|
Finish first draft of the DELETE /tasks route
|
2022-10-27 11:34:04 +02:00 |
|