mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
commit the index wtxn before the index-scheduler wtxn
This commit is contained in:
parent
eda09a54da
commit
d4d82fbd0c
2 changed files with 12 additions and 7 deletions
|
@ -406,7 +406,8 @@ impl IndexSchedulerHandle {
|
|||
.recv_timeout(std::time::Duration::from_secs(1)) {
|
||||
Ok((_, true)) => continue,
|
||||
Ok((b, false)) => panic!("The scheduler was supposed to be down but successfully moved to the next breakpoint: {b:?}"),
|
||||
Err(RecvTimeoutError::Timeout | RecvTimeoutError::Disconnected) => break,
|
||||
Err(RecvTimeoutError::Timeout) => panic!(),
|
||||
Err(RecvTimeoutError::Disconnected) => break,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue