Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

jnayak_179125 avatar image
jnayak_179125 asked ·

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 characters needed characters left characters exceeded

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 ·

@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 characters needed characters left characters exceeded

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

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

1 Like 1 · ·

Good to hear. Cheers!

0 Likes 0 · ·