bors[bot] 89e05fc6c5
Merge #113
113: snapshots r=MarinPostma a=MarinPostma

 This pr adds support for snapshoting.

The snapshoting process for an index requires that no other update is processing at the same time. A mutex lock has been added to prevent a snapshot from occuring at the same time as an update, while still premitting updates to be pushed.

The list of the indexes to snapshot is first retrieved from the `UuidResolver` which also performs its snapshot.

This list is passed to the update store, which attempts to acquire a lock on the update store while it snaphots itself and it's associated index store.

 This means that a snapshot can only be completed once all indexes have finished their ongoing update.

This pr also adds refactoring of the code to allow unit testing and mocking, and unit test the snapshot creation.

Co-authored-by: mpostma <postma.marin@protonmail.com>
Co-authored-by: tamo <irevoire@protonmail.ch>
Co-authored-by: marin <postma.marin@protonmail.com>
Co-authored-by: Marin Postma <postma.marin@protonmail.com>
2021-04-01 13:16:00 +00:00
2021-03-15 18:11:10 +01:00
2021-03-10 13:46:49 +01:00
2021-03-16 13:08:26 +01:00
2021-03-24 12:38:59 +01:00
2021-03-10 13:46:49 +01:00
2021-03-10 14:43:10 +01:00
2020-12-12 13:32:06 +01:00

transplant of meilisearch http on the new engine

Description
No description provided
Readme
Languages
Rust 97.4%
HTML 1.3%
Shell 1.2%