Sunday, August 22, 2021

Datastax Opscenter alert

OpsCenter Alert:

Message: Based on current repair throughput, it appears that the Repair Service will not complete within the specified repair window. Tasks remaining to repair: 3.48 GB. Repair must complete by Sun Aug 29 23:40:27 EDT 2021, which requires throughput of: 5 KB/s; however, the actual throughput is: 3.4 KB/s. Estimated completion is Thu Sep 02 20:35:53 EDT 2021. For more information on tuning the repair service, see http://www.datastax.com/documentation/opscenter/help/repair_services_advanced.html


**Suggested changes:

Below parameter changes are to be done for each cluster_name.conf, max_parallel_repairs is set to the  max replication factor (add all dc factors) for repaired keyspaces, and max_pending_repairs is set to 10x that number.

So, for example, if you had a two DC cluster and each DC used a replication factor of 3 for most keyspaces, what you'd set is:


[repair_service] 

ignore_keyspaces = dse_insights,dse_perf,system_traces,OpsCenter

ignore_tables = keyspace.tablename

incremental_repair_tables = ""

max_parallel_repairs = 6

max_pending_repairs = 60

min_repair_time = 0 

single_repair_timeout = 36000

tokenranges_http_timeout = 300 

time_to_completion_target_percentage = 0


*** 

No comments:

Post a Comment