問題描述
刪除 Datastax Advanced Replication 生成的重新日誌 (Deleting replogs generated by Datastax Advanced Replication)
我在一個表的兩個 datastax 集群之間設置了複製。我現在已經刪除了複製通道,因為我不再需要復制數據。該通道已生成大量尚未傳輸的重新日誌,但不再需要(因為複制已終止)。我可以繼續刪除這些文件嗎?是否有任何執行此類清理的 datastax 命令?
參考解法
方法 1:
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.