Message Text
Foreign cluster variable1 can not be deleted as there are database replication dependencies. Delete replication settings for foreign replica and foreign master databases first.
Cause
There might be an existing database replication configuration with the foreign database being in the cluster you are trying to delete.
Response
Delete database replication with all the databases which are in the foreign cluster that you want to delete.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.