mirror of
https://github.com/rustfs/rustfs.git
synced 2026-09-01 17:58:22 +00:00
@@ -64,7 +64,6 @@ pin-project-lite.workspace = true
|
|||||||
md-5.workspace = true
|
md-5.workspace = true
|
||||||
madmin.workspace = true
|
madmin.workspace = true
|
||||||
workers.workspace = true
|
workers.workspace = true
|
||||||
madmin.workspace = true
|
|
||||||
|
|
||||||
[target.'cfg(not(windows))'.dependencies]
|
[target.'cfg(not(windows))'.dependencies]
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,12 @@
|
|||||||
use std::{collections::HashMap, io::Cursor, time::SystemTime};
|
use std::{collections::HashMap, io::Cursor, time::SystemTime};
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
admin_server_info::ServerProperties, endpoints::EndpointServerPools, global::is_dist_erasure,
|
admin_server_info::ServerProperties,
|
||||||
heal::heal_commands::BgHealState, store_api::StorageInfo,
|
endpoints::EndpointServerPools,
|
||||||
|
global::is_dist_erasure,
|
||||||
|
heal::heal_commands::BgHealState,
|
||||||
|
metrics_realtime::{CollectMetricsOpts, MetricType},
|
||||||
|
store_api::StorageInfo,
|
||||||
};
|
};
|
||||||
use common::error::{Error, Result};
|
use common::error::{Error, Result};
|
||||||
use madmin::{
|
use madmin::{
|
||||||
|
|||||||
+3
-9
@@ -14,10 +14,8 @@ use ecstore::{
|
|||||||
},
|
},
|
||||||
erasure::Writer,
|
erasure::Writer,
|
||||||
heal::{
|
heal::{
|
||||||
|
|
||||||
data_usage_cache::DataUsageCache,
|
data_usage_cache::DataUsageCache,
|
||||||
|
heal_commands::{get_local_background_heal_status, HealOpts},
|
||||||
heal_commands::{get_local_background_heal_status, {get_local_background_heal_status, HealOpts},
|
|
||||||
},
|
},
|
||||||
metrics_realtime::{collect_local_metrics, CollectMetricsOpts, MetricType},
|
metrics_realtime::{collect_local_metrics, CollectMetricsOpts, MetricType},
|
||||||
new_object_layer_fn,
|
new_object_layer_fn,
|
||||||
@@ -29,12 +27,8 @@ use futures::{Stream, StreamExt};
|
|||||||
use lock::{lock_args::LockArgs, Locker, GLOBAL_LOCAL_SERVER};
|
use lock::{lock_args::LockArgs, Locker, GLOBAL_LOCAL_SERVER};
|
||||||
|
|
||||||
use common::globals::GLOBAL_Local_Node_Name;
|
use common::globals::GLOBAL_Local_Node_Name;
|
||||||
use madmin::net::get_net_info;
|
use madmin::health::{
|
||||||
use madmin::{
|
get_cpus, get_mem_info, get_os_info, get_partitions, get_proc_info, get_sys_config, get_sys_errors, get_sys_services,
|
||||||
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::net::get_net_info;
|
use madmin::net::get_net_info;
|
||||||
use protos::{
|
use protos::{
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ use ecstore::utils::net::{self, get_available_port};
|
|||||||
use ecstore::{
|
use ecstore::{
|
||||||
endpoints::EndpointServerPools,
|
endpoints::EndpointServerPools,
|
||||||
heal::data_scanner::init_data_scanner,
|
heal::data_scanner::init_data_scanner,
|
||||||
notification_sys::new_global_notification_sys,
|
|
||||||
set_global_endpoints,
|
set_global_endpoints,
|
||||||
store::{init_local_disks, ECStore},
|
store::{init_local_disks, ECStore},
|
||||||
update_erasure_type,
|
update_erasure_type,
|
||||||
|
|||||||
Reference in New Issue
Block a user