dblink: only run on db_master, not slaves