cargo fmt

This commit is contained in:
Christian Schwarz
2024-12-21 20:32:53 +01:00
parent 97a01bdcb4
commit 3396574d21
4 changed files with 12 additions and 5 deletions
+6 -2
View File
@@ -29,13 +29,17 @@ use std::{
io,
iter::Rev,
ops::{Range, RangeInclusive},
result, time::Duration,
result,
time::Duration,
};
use thiserror::Error;
use tracing::error;
use crate::{
context::{DownloadBehavior, RequestContext}, log_if_slow, task_mgr::TaskKind, tenant::block_io::{BlockReader, BlockWriter}
context::{DownloadBehavior, RequestContext},
log_if_slow,
task_mgr::TaskKind,
tenant::block_io::{BlockReader, BlockWriter},
};
// The maximum size of a value stored in the B-tree. 5 bytes is enough currently.
@@ -9,7 +9,10 @@ use utils::{
use super::failpoints::{Failpoint, FailpointKind};
use super::*;
use crate::{context::DownloadBehavior, tenant::storage_layer::{IoConcurrency, LayerVisibilityHint}};
use crate::{
context::DownloadBehavior,
tenant::storage_layer::{IoConcurrency, LayerVisibilityHint},
};
use crate::{task_mgr::TaskKind, tenant::harness::TenantHarness};
/// Used in tests to advance a future to wanted await point, and not futher.
-1
View File
@@ -3454,7 +3454,6 @@ impl Timeline {
)));
}
}
}
}
trace!("futures completed");
+2 -1
View File
@@ -111,7 +111,8 @@ pub(crate) fn get() -> IoEngine {
use std::{
os::unix::prelude::FileExt,
sync::atomic::{AtomicU8, Ordering}, time::Duration,
sync::atomic::{AtomicU8, Ordering},
time::Duration,
};
use super::{