Edit XDCR checkpoint database to cleanup checkpoint of deleted replication


Some of my Couchbase 5 XDCR replications get stuck. The replication seems to fail only on couple of nodes and the others are replicating all documents without problems. Deleting the replication and creating a new one does not help since the new replication seems to be resumed from the old replication state. And the new one get stuck also. I took a look in the ‘simple_store_xdcr_ckpt_data’ file and the documents holding checkpoints of deleted replications seems to persist after deletion.
Assuming I have made a correct assumption and the ‘simple_store_xdcr_ckpt_data’ holds the checkpoint documents, can someone tell me how can I remove the checkpoints of the old replications?

Thank you