mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-25 09:00:37 +00:00
run clippy/fmt
This commit is contained in:
@@ -391,7 +391,7 @@ impl PageServerConf {
|
||||
}
|
||||
|
||||
pub fn tenant_attaching_mark_file_path(&self, tenant_id: &TenantId) -> PathBuf {
|
||||
self.tenant_path(&tenant_id)
|
||||
self.tenant_path(tenant_id)
|
||||
.join(TENANT_ATTACHING_MARKER_FILENAME)
|
||||
}
|
||||
|
||||
|
||||
@@ -128,8 +128,8 @@ pub mod index;
|
||||
mod upload;
|
||||
|
||||
// re-export this
|
||||
pub use download::list_remote_timelines;
|
||||
pub use download::is_temp_download_file;
|
||||
pub use download::list_remote_timelines;
|
||||
|
||||
use std::collections::{HashMap, VecDeque};
|
||||
use std::fmt::Debug;
|
||||
|
||||
@@ -931,7 +931,10 @@ impl Timeline {
|
||||
} else if fname == METADATA_FILE_NAME || fname.ends_with(".old") {
|
||||
// ignore these
|
||||
} else if crate::storage_sync::is_temp_download_file(&direntry_path) {
|
||||
info!("skipping temp download file, reconcile_with_remote will resume / clean up: {}", fname);
|
||||
info!(
|
||||
"skipping temp download file, reconcile_with_remote will resume / clean up: {}",
|
||||
fname
|
||||
);
|
||||
} else if is_ephemeral_file(&fname) {
|
||||
// Delete any old ephemeral files
|
||||
trace!("deleting old ephemeral file in timeline dir: {}", fname);
|
||||
|
||||
@@ -170,7 +170,7 @@ fn load_local_tenant(
|
||||
Tenant::spawn_load(conf, tenant_id, remote_storage)?
|
||||
};
|
||||
tenants_state::write_tenants().insert(tenant_id, tenant);
|
||||
return Ok(Some(()));
|
||||
Ok(Some(()))
|
||||
}
|
||||
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user