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

Shannu avatar image
Shannu asked Erick Ramirez answered

Repair percent not improving when running repairs using Reaper

I have a cluster of 9 nodes(1 dc) with 3 nodes in each rack of 3 racks. Have a load of around 200gb. I am trying to configure reaper tool for scheduling repairs. After a full repair on a whole keyspace, the reapair percent aren't improving, same case with running repairs on table level.

However with regular repair command below, repair percent is now 100%

nodetool repair -full keyspace tablename

Could you please explain me this behaviour, is this expected or Am i missing any specific configs with reaper

repairreaper
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

Reaper breaks up the token ranges into small segments and schedules repairs of those segments (subrange repair) spread over the interval period you've configured.

When the repairs of those segments have completed, they get rescheduled for the next cycle of repairs and Reaper is continually running small repair tasks in the background and it never ends.

In contrast, a manual table repair attempts to repair the whole table instead of just repairing small subranges. 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.