Skip to content

Commit

Permalink
clickhouse: dont log error when keeper_map path does not exist
Browse files Browse the repository at this point in the history
This will always happen if there is no KeeperMap tables.
  • Loading branch information
joelynch committed Sep 20, 2024
1 parent b6a9014 commit 4148d50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion astacus/coordinator/plugins/clickhouse/steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ async def run_step(self, cluster: Cluster, context: StepsContext) -> Sequence[Ke
try:
children = await connection.get_children(self.keeper_map_path_prefix, watch=change_watch)
except NoNodeError:
logger.exception("KeeperMap path %s not found", self.keeper_map_path_prefix)
# The path doesn't exist, no keeper map tables to retrieve
return []

tables = []
Expand Down

0 comments on commit 4148d50

Please sign in to comment.