实现了多project pipeline
This commit is contained in:
@@ -511,7 +511,7 @@ class FullSyncPipeline:
|
||||
)
|
||||
|
||||
async def _load_node_type(self, node_type: str, *, reason: str) -> None:
|
||||
self._logger.info(f"🔄 Load node_type={node_type}, reason={reason}")
|
||||
self._logger.debug(f"🔄 Load node_type={node_type}, reason={reason}")
|
||||
await self._load_node_type_from_datasource(
|
||||
self.local_datasource,
|
||||
datasource_role="local",
|
||||
@@ -576,7 +576,7 @@ class FullSyncPipeline:
|
||||
self._log_reload_skipped(node_type, reason)
|
||||
return
|
||||
|
||||
self._logger.info(
|
||||
self._logger.debug(
|
||||
"🔄 Reload node_type=%s after write, reason=%s, local=%s, remote=%s",
|
||||
node_type,
|
||||
reason,
|
||||
@@ -667,7 +667,7 @@ class FullSyncPipeline:
|
||||
)
|
||||
|
||||
if finalized_success or finalized_failed:
|
||||
self._logger.info(
|
||||
self._logger.debug(
|
||||
f"🔁 Peer-creating finalize: node_type={node_type}, success={finalized_success}, failed={finalized_failed}"
|
||||
)
|
||||
|
||||
@@ -690,7 +690,7 @@ class FullSyncPipeline:
|
||||
normalized += 1
|
||||
|
||||
if normalized > 0:
|
||||
self._logger.info(f"🔁 Post-create normalization: {normalized} nodes moved S11C->S01 for {node_type}")
|
||||
self._logger.debug(f"🔁 Post-create normalization: {normalized} nodes moved S11C->S01 for {node_type}")
|
||||
|
||||
async def commit_updates(self, node_type: str) -> WriteOutcome:
|
||||
"""提交 UPDATE 操作(包含异步轮询)"""
|
||||
|
||||
Reference in New Issue
Block a user