mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
fix unexisting update store + race conditions
This commit is contained in:
parent
3f68460d6c
commit
40b3451a4e
3 changed files with 48 additions and 14 deletions
|
@ -144,6 +144,7 @@ impl IndexController {
|
|||
let name = name.unwrap();
|
||||
let uuid = self.uuid_resolver.create(name.clone()).await?;
|
||||
let meta = self.index_handle.create_index(uuid, primary_key).await?;
|
||||
let _ = self.update_handle.create(uuid).await?;
|
||||
let meta = IndexMetadata { name, meta };
|
||||
|
||||
Ok(meta)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue