In query based replication, we should allow 2 MIRRORs with same name. But as we removed the unique constraint for name (because of multi-table CDC), we are allowing. We might need to rethink the data-model for flows table. One approach is to separate metadata tables for CDC and Query Based Replication.