#pragma once #include #include namespace DB { class IDatabase; using DatabasePtr = std::shared_ptr; String getReplicatedDatabaseShardName(const DatabasePtr & database); String getReplicatedDatabaseReplicaName(const DatabasePtr & database); }