This commit is contained in:
Mubelotix
2025-07-22 15:18:21 +02:00
parent c1aa4120ac
commit 846d27354b
2 changed files with 2 additions and 1 deletions

View File

@ -228,7 +228,7 @@ async fn snapshotception_issue_4653() {
let options = Opt { import_snapshot: Some(snapshot_path), ..default_settings(temp.path()) };
let snapshot_server = Server::new_with_options(options).await.unwrap();
// The snapshot creation task should NOT be spawned again => task is succeeded
let (task, code) = snapshot_server.get_task(task.uid()).await;
snapshot!(code, @"200 OK");

View File

@ -119,6 +119,7 @@ pub struct FacetsUpdate<'i> {
min_level_size: u8,
data_size: u64,
}
impl<'i> FacetsUpdate<'i> {
pub fn new(
index: &'i Index,