meilisearch/meilisearch-http/tests
bors[bot] c984fa1071
Merge #1176
1176: fix race condition in  document addition r=Kerollmops a=MarinPostma

As described in #1160, there was a race condition when updating settings and adding documents simultaneously. This was due to the schema being updated and document addition being processed in two different transactions. This PR moves the schema update logic for the primary key in the same transaction as the document addition, while maintaining the input checks for the validity of the primary key in the http route, in order not to break the error reporting for the document addition route.

close #1160.

Co-authored-by: mpostma <postma.marin@protonmail.com>
Co-authored-by: marin <postma.marin@protonmail.com>
2021-02-02 09:26:32 +00:00
..
assets fix test set 2021-01-05 21:37:05 +01:00
common.rs Increasing payload default size 2020-12-29 16:55:35 -05:00
dashboard.rs add test 2020-05-23 12:20:28 +02:00
documents_add.rs fix pr comments 2020-10-22 16:12:55 +02:00
documents_delete.rs add test clear all documents 2020-11-19 14:13:27 +01:00
documents_get.rs add tests for documents 2020-09-22 16:05:40 +02:00
dump.rs un-ignore dump tests 2021-01-05 21:54:14 +01:00
errors.rs Increasing payload default size 2020-12-29 16:55:35 -05:00
health.rs refactor /health on meilisearch-http that complies: 2020-10-19 14:30:43 +08:00
index_update.rs fix flaky test 2021-02-01 18:59:22 +01:00
index.rs fix tests 2020-12-15 12:05:17 +01:00
lazy_index_creation.rs add tests 2020-10-15 09:43:54 +02:00
placeholder_search.rs fix suggestions 2021-01-05 15:21:05 +01:00
search_settings.rs normalize synonyms during indexation 2021-01-12 13:53:32 +01:00
search.rs add word limit to search queries 2021-01-08 16:23:23 +01:00
settings_ranking_rules.rs fix tests 2020-07-15 18:56:19 +02:00
settings_stop_words.rs update stop_words tests to use the test dataset 2020-07-02 16:52:39 +05:30
settings.rs Revert "Merge #1001" 2020-11-02 15:10:09 +01:00
url_normalizer.rs add tests 2020-05-12 15:34:08 +02:00