fix(storage): avoid startup UUID disk lookup misses (#2576)

This commit is contained in:
weisd
2026-04-17 15:55:47 +08:00
committed by GitHub
parent f255b8a9f1
commit 8dc5ef6ef5
3 changed files with 115 additions and 3 deletions
+2
View File
@@ -44,6 +44,7 @@ use rustfs_ecstore::{
set_global_endpoints,
store::ECStore,
store::init_local_disks,
store::prewarm_local_disk_id_map,
store_api::BucketOperations,
store_api::BucketOptions,
update_erasure_type,
@@ -295,6 +296,7 @@ async fn run(config: rustfs::config::Config) -> Result<()> {
// Initialize the local disk
init_local_disks(endpoint_pools.clone()).await.map_err(Error::other)?;
prewarm_local_disk_id_map().await;
// Initialize the lock clients
init_lock_clients(endpoint_pools.clone());