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

on_wisdom_181819 avatar image
on_wisdom_181819 asked ·

Should NodeSync be disabled on a table in order to manually repair it?

FOLLOW UP QUESTION TO "Can we repair a Nodesync-enabled table if the service is disabled?"

so solution is that he/she alter mentioned table to change nodesync status to false then try to repair?

nodesync = {
    'enabled': 'false'};
dsenodesync
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 ·

@on_wisdom_181819 Technically you can disable NodeSync on the table however that's not the recommended course of action.

I suggest sticking with NodeSync and instead run a manual validation on the table as follows:

$ nodesync validation submit ks_name.table_name

A manual validation is the equivalent of a manual repair in NodeSync. It forces NodeSync to prioritise the repair of the table. When the manual validation has completed, NodeSync will resume the scheduled background (automatic) repairs.

For details, see Manually starting validation. Cheers!

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.