refactor(replication): move object config bridge (#4188)

* refactor(replication): move object config bridge

* refactor(replication): centralize log constants
This commit is contained in:
Zhengchao An
2026-07-02 16:32:02 +08:00
committed by GitHub
parent 3533080d4a
commit f0adabbe90
8 changed files with 405 additions and 307 deletions
@@ -0,0 +1,19 @@
// Copyright 2024 RustFS Team
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
pub(crate) const LOG_COMPONENT_ECSTORE: &str = "ecstore";
pub(crate) const LOG_SUBSYSTEM_REPLICATION: &str = "replication";
pub(crate) const LOG_SUBSYSTEM_REPLICATION_RESYNC: &str = "replication_resync";
pub(crate) const EVENT_REPLICATION_CONFIG_LOOKUP_SKIPPED: &str = "replication_config_lookup_skipped";
pub(crate) const EVENT_RESYNC_CONFIG_LOOKUP_SKIPPED: &str = "replication_resync_config_lookup_skipped";