Search code examples
replicationdatastaxdatabase-replication

Deleting replogs generated by Datastax Advanced Replication


I have a replication set up between two datastax clusters for a table. I have now deleted the replication channel since I no longer need data replicated. The channel had generated a large number of replogs which were yet to be transmitted, but is no longer required (since the replication has been terminated). Can I go ahead and remove those files? Is there any datastax command which performs such a cleanup?


Solution

  • Have you looked to the official documentation on the disable the advanced replication? If you didn't delete the channels already, you simply were need to stop replication and truncate unreplicated data with dse advrep channel truncate.

    In case if you dropped the channels, then I go the road of disabling this feature as disabling the advanced replication as described in documentation, and when restarting the node, remove the files from the disk... And after you restart all nodes, then you can drop dse_advrep keyspace.