refactor: narrow storage namespace consumers (#3477)

This commit is contained in:
安正超
2026-06-15 18:32:21 +08:00
committed by GitHub
parent 307d788da1
commit f782f94f6a
3 changed files with 36 additions and 41 deletions
+1 -2
View File
@@ -12,7 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
use crate::StorageAPI;
use crate::cache_value::metacache_set::{ListPathRawOptions, list_path_raw};
use crate::config::com::{read_config_with_metadata, save_config_with_opts};
use crate::data_movement;
@@ -667,7 +666,7 @@ impl RebalanceMeta {
}
impl ECStore {
async fn save_rebalance_meta_with_merge<S: StorageAPI + NamespaceLocking>(
async fn save_rebalance_meta_with_merge<S: ObjectIO + NamespaceLocking>(
&self,
pool: Arc<S>,
local_snapshot: &RebalanceMeta,