mirror of
https://github.com/neondatabase/neon.git
synced 2026-10-25 13:13:08 +00:00
cargo fmt
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -3454,7 +3454,6 @@ impl Timeline {
|
||||
)));
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
trace!("futures completed");
|
||||
|
||||
@@ -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::{
|
||||
|
||||
Reference in New Issue
Block a user