MeiliSearch/index-scheduler/src/snapshots/lib.rs
meili-bors[bot] aae099e330
Merge #3851
3851: Expose lastUpdate and isIndexing in /stats endpoint r=dureuill a=gentcys

# Pull Request

## Related issue
Fixes #3843

## What does this PR do?
- expose lastUpdate in `/stats` endpoint
- expose isIndex in `stats` endpoint
- add a method `is_task_processing` in index-scheduler/src/lib.rs.

## PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!


Co-authored-by: Cong Chen <cong.chen@ocrlabs.com>
Co-authored-by: ManyTheFish <many@meilisearch.com>
Co-authored-by: Louis Dureuil <louis@meilisearch.com>
2023-07-03 13:41:04 +00:00
..
cancel_enqueued_task update most snapshots 2023-03-06 16:57:31 +01:00
cancel_mix_of_tasks Fix snapshots 2023-03-06 16:57:31 +01:00
cancel_processing_task Fix snapshots 2023-03-06 16:57:31 +01:00
cancel_succeeded_task update most snapshots 2023-03-06 16:57:31 +01:00
do_not_batch_task_of_different_indexes update most snapshots 2023-03-06 16:57:31 +01:00
document_addition update most snapshots 2023-03-06 16:57:31 +01:00
document_addition_and_document_deletion fix the addition + deletion bug 2023-05-17 18:28:57 +02:00
document_addition_and_index_deletion update most snapshots 2023-03-06 16:57:31 +01:00
document_addition_and_index_deletion_on_unexisting_index update most snapshots 2023-03-06 16:57:31 +01:00
document_deletion_and_document_addition fix the addition + deletion bug 2023-05-17 18:28:57 +02:00
fail_in_process_batch_for_document_addition Add a dedicated error variant for planned failures in index scheduler tests 2023-05-02 14:37:20 +02:00
fail_in_process_batch_for_index_creation Add a dedicated error variant for planned failures in index scheduler tests 2023-05-02 14:37:20 +02:00
fail_in_update_task_after_process_batch_success_for_document_addition update most snapshots 2023-03-06 16:57:31 +01:00
insert_task_while_another_task_is_processing update most snapshots 2023-03-06 16:57:31 +01:00
panic_in_process_batch_for_index_creation update most snapshots 2023-03-06 16:57:31 +01:00
process_tasks_inserted_without_new_signal update most snapshots 2023-03-06 16:57:31 +01:00
process_tasks_without_autobatching update most snapshots 2023-03-06 16:57:31 +01:00
query_tasks_canceled_by update most snapshots 2023-03-06 16:57:31 +01:00
query_tasks_from_and_limit update most snapshots 2023-03-06 16:57:31 +01:00
query_tasks_simple Add a dedicated error variant for planned failures in index scheduler tests 2023-05-02 14:37:20 +02:00
query_tasks_special_rules update most snapshots 2023-03-06 16:57:31 +01:00
register fix some typos 2023-06-22 21:59:00 +08:00
swap_indexes update most snapshots 2023-03-06 16:57:31 +01:00
swap_indexes_errors update most snapshots 2023-03-06 16:57:31 +01:00
task_deletion_delete_same_task_twice update most snapshots 2023-03-06 16:57:31 +01:00
task_deletion_deleteable update most snapshots 2023-03-06 16:57:31 +01:00
task_deletion_undeleteable update most snapshots 2023-03-06 16:57:31 +01:00
test_auto_deletion_of_tasks make the generated filter valid 2023-05-04 00:06:49 +02:00
test_document_addition_cant_create_index_with_index update most snapshots 2023-03-06 16:57:31 +01:00
test_document_addition_cant_create_index_with_index_without_autobatching update most snapshots 2023-03-06 16:57:31 +01:00
test_document_addition_cant_create_index_without_index update most snapshots 2023-03-06 16:57:31 +01:00
test_document_addition_cant_create_index_without_index_without_autobatching update most snapshots 2023-03-06 16:57:31 +01:00
test_document_addition_mixed_right_without_index_starts_with_cant_create update most snapshots 2023-03-06 16:57:31 +01:00
test_document_addition_mixed_rights_with_index update most snapshots 2023-03-06 16:57:31 +01:00
test_document_addition_with_bad_primary_key update most snapshots 2023-03-06 16:57:31 +01:00
test_document_addition_with_multiple_primary_key update most snapshots 2023-03-06 16:57:31 +01:00
test_document_addition_with_multiple_primary_key_batch_wrong_key update most snapshots 2023-03-06 16:57:31 +01:00
test_document_addition_with_set_and_null_primary_key update most snapshots 2023-03-06 16:57:31 +01:00
test_document_addition_with_set_and_null_primary_key_inference_works update most snapshots 2023-03-06 16:57:31 +01:00
test_document_replace update most snapshots 2023-03-06 16:57:31 +01:00
test_document_replace_without_autobatching update most snapshots 2023-03-06 16:57:31 +01:00
test_document_update update most snapshots 2023-03-06 16:57:31 +01:00
test_document_update_without_autobatching update most snapshots 2023-03-06 16:57:31 +01:00
test_mixed_document_addition update most snapshots 2023-03-06 16:57:31 +01:00
test_task_is_processing Update tests 2023-07-03 11:20:43 +02:00