Commit Graph

33 Commits

Author SHA1 Message Date
426246b1b4 cargo insta accept 2022-10-26 11:33:27 +02:00
73b2f25f55 fix an issue with the dates 2022-10-25 15:46:36 +02:00
56fbe147ac add more naive tests around the document addition + remove the old unused snapshot files 2022-10-25 15:46:36 +02:00
b08cd4bd0c add some naive document addition tests 2022-10-25 15:46:36 +02:00
513544c1f3 Add index scheduler tests for task cancelation 2022-10-25 12:35:11 +02:00
0218d94054 Merge pull request #2956 from meilisearch/index-swap-empty-crash
Fix crash when batching an index swap task containing 0 swaps
2022-10-25 11:12:35 +02:00
3f0cfff687 Delete unreferenced insta-snapshot files 2022-10-25 10:57:03 +02:00
8d5d92f927 Fix crash when batching an index swap task containing 0 swaps 2022-10-25 10:57:03 +02:00
6f418e73d0 Apply code review suggestions 2022-10-25 10:47:36 +02:00
c0a58f9141 Pause the index scheduler for one second when a fatal error occurs 2022-10-25 10:47:36 +02:00
44b8c8b713 Fix (hopefully) queries that include processing tasks 2022-10-25 10:47:36 +02:00
c562e380a0 Adjust task details correctly following index swap 2022-10-25 10:47:36 +02:00
dd7d758a6f Start testing unexpected errors and panics in index scheduler 2022-10-25 10:47:36 +02:00
6d9140115f Add assert method to verify validity of index scheduler state 2022-10-25 10:47:36 +02:00
e35bc48ba6 fix all the snapshots 2022-10-22 16:24:48 +02:00
b910e65a1d update all the snapshots with the new kind name 2022-10-22 16:24:48 +02:00
a257904cf4 Fix the insta tests 2022-10-20 16:39:25 +02:00
cb3ccee401 push the snapshot files 2022-10-20 16:39:25 +02:00
14a44776f6 Implement POST /indexes-swap 2022-10-20 16:39:23 +02:00
bdb3702510 Remove key from index_tasks database when the value is empty 2022-10-20 16:39:23 +02:00
50d48df636 Fix bug where assert used != instead of ==
And update snapshot tests.
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
f3c2be1eb5 fix the auto-generated details 2022-10-20 16:37:29 +02:00
3702249b1a fix a bunch of snapshot tests 2022-10-20 16:37:29 +02:00
baeb168b6e Delete a task's persisted data when appropriate 2022-10-20 16:34:32 +02:00
99f1d5df20 fix the tests 2022-10-20 16:14:37 +02:00
7ce336306d Fix number of deleted tasks details after duplicate task deletion 2022-10-20 16:09:33 +02:00
d49d7e9c2d Add task deletion tests where the same task is deleted twice 2022-10-20 16:09:33 +02:00
4c6145f782 Update snapshot tests following git rebase that fixes a bug 2022-10-20 16:09:32 +02:00
ef3e9e87f5 Continue implementation of task deletion
1. Matched tasks are a roaring bitmap
2. Start implementation in meilisearch-http
3. Snapshots use meili-snap
4. Rename to TaskDeletion
2022-10-20 16:08:16 +02:00
f3ec39a769 Fix compiler errors related autobatching option of the index scheduler 2022-10-20 15:45:57 +02:00
ccfe1babdc Add more task deletion tests 2022-10-20 15:45:57 +02:00
570ae05833 Use more complete snapshot tests for the index scheduler 2022-10-20 15:45:57 +02:00