Class SystemStoreRepairTask

java.lang.Object
com.linkedin.venice.controller.systemstore.SystemStoreRepairTask
All Implemented Interfaces:
Runnable

public class SystemStoreRepairTask extends Object implements Runnable
This class tries to scan all clusters for which the current parent controller is the leader. It will perform the following actions for each system store of each cluster: 1. Pre-filter: check that system stores are created and versions are not stale. 2. Health check: run the configured SystemStoreHealthChecker (heartbeat-based by default, but pluggable). 3. Repair: for any store that fails (1) or (2), run an empty push to repair it. It emits metrics to indicate bad system store counts per cluster and how many stores are not fixable by the task.