task register of SwapIndexes is called in an asyncronous context #4040
Labels
bug
Something isn't working as expected
maintenance
Issue about maintenance (CI, tests, refacto...)
v1.4.0
PRs/issues solved in v1.4.0 released on 2023-09-25
Milestone
Describe the bug
When registering a swap indexes task, we do it in the asynchronous context without spawning a blocking task.
That could theorically starve the main thread if we end up being blocked by something that takes time in lmdb.
Meilisearch version:
Since the introduction of the swap index feature in v0.30
The text was updated successfully, but these errors were encountered: