rebase main

Signed-off-by: mujunxiang <1948535941@qq.com>
This commit is contained in:
mujunxiang
2024-12-03 10:36:03 +08:00
parent bedc81e973
commit fdf5555f11
4 changed files with 9 additions and 13 deletions
-1
View File
@@ -64,7 +64,6 @@ pin-project-lite.workspace = true
md-5.workspace = true
madmin.workspace = true
workers.workspace = true
madmin.workspace = true
[target.'cfg(not(windows))'.dependencies]
+6 -2
View File
@@ -1,8 +1,12 @@
use std::{collections::HashMap, io::Cursor, time::SystemTime};
use crate::{
admin_server_info::ServerProperties, endpoints::EndpointServerPools, global::is_dist_erasure,
heal::heal_commands::BgHealState, store_api::StorageInfo,
admin_server_info::ServerProperties,
endpoints::EndpointServerPools,
global::is_dist_erasure,
heal::heal_commands::BgHealState,
metrics_realtime::{CollectMetricsOpts, MetricType},
store_api::StorageInfo,
};
use common::error::{Error, Result};
use madmin::{
+3 -9
View File
@@ -14,10 +14,8 @@ use ecstore::{
},
erasure::Writer,
heal::{
data_usage_cache::DataUsageCache,
heal_commands::{get_local_background_heal_status, {get_local_background_heal_status, HealOpts},
heal_commands::{get_local_background_heal_status, HealOpts},
},
metrics_realtime::{collect_local_metrics, CollectMetricsOpts, MetricType},
new_object_layer_fn,
@@ -29,12 +27,8 @@ use futures::{Stream, StreamExt};
use lock::{lock_args::LockArgs, Locker, GLOBAL_LOCAL_SERVER};
use common::globals::GLOBAL_Local_Node_Name;
use madmin::net::get_net_info;
use madmin::{
health::{
get_cpus, get_mem_info, get_os_info, get_partitions, get_proc_info, get_sys_config, get_sys_errors, get_sys_services,
},
metrics::{collect_local_metrics, CollectMetricsOpts},
use madmin::health::{
get_cpus, get_mem_info, get_os_info, get_partitions, get_proc_info, get_sys_config, get_sys_errors, get_sys_services,
};
use madmin::net::get_net_info;
use protos::{
-1
View File
@@ -14,7 +14,6 @@ use ecstore::utils::net::{self, get_available_port};
use ecstore::{
endpoints::EndpointServerPools,
heal::data_scanner::init_data_scanner,
notification_sys::new_global_notification_sys,
set_global_endpoints,
store::{init_local_disks, ECStore},
update_erasure_type,