Class SystemStoreRepairService
- java.lang.Object
-
- com.linkedin.venice.service.AbstractVeniceService
-
- com.linkedin.venice.controller.systemstore.SystemStoreRepairService
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class SystemStoreRepairService extends AbstractVeniceService
This class is the system store repair service in Venice parent controller. It will issue repair taskSystemStoreRepairTask
to check system store health and try to repair bad system store at its best effort.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.linkedin.venice.service.AbstractVeniceService
AbstractVeniceService.ServiceState
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.logging.log4j.Logger
LOGGER
-
Fields inherited from class com.linkedin.venice.service.AbstractVeniceService
logger, serviceState
-
-
Constructor Summary
Constructors Constructor Description SystemStoreRepairService(VeniceParentHelixAdmin parentAdmin, VeniceControllerMultiClusterConfig multiClusterConfigs, io.tehuti.metrics.MetricsRepository metricsRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
startInner()
void
stopInner()
-
-
-
Constructor Detail
-
SystemStoreRepairService
public SystemStoreRepairService(VeniceParentHelixAdmin parentAdmin, VeniceControllerMultiClusterConfig multiClusterConfigs, io.tehuti.metrics.MetricsRepository metricsRepository)
-
-
Method Detail
-
startInner
public boolean startInner()
- Specified by:
startInner
in classAbstractVeniceService
- Returns:
- true if the service is completely started,
false if it is still starting asynchronously (in this case, it is the implementer's
responsibility to set
AbstractVeniceService.serviceState
toAbstractVeniceService.ServiceState.STARTED
upon completion of the async work).
-
stopInner
public void stopInner()
- Specified by:
stopInner
in classAbstractVeniceService
-
-