question

jnayak_179125 avatar image
jnayak_179125 asked Erick Ramirez edited

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 (50GB appx) 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?

replicationadvanced replication
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered Erick Ramirez edited

@jnayak_179125 If you ran a dse advrep channel truncate, that should have dropped the messages for that channel that is in the replication log. Since you no longer require the contents of the log, feel free to just delete it.

My apologies for our documentation not being clear about this. I will work on getting it updated to specifically include steps for retiring advanced replication channels. Cheers!

2 comments Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

jnayak_179125 avatar image jnayak_179125 commented ·

Thank you Erick, I have removed the replogs and reclaimed the space.

1 Like 1 ·
Erick Ramirez avatar image Erick Ramirez ♦♦ jnayak_179125 commented ·

Good to hear. Cheers!

0 Likes 0 ·