Class StoreRepushCandidateFilter
java.lang.Object
com.linkedin.venice.controller.logcompaction.StoreRepushCandidateFilter
- All Implemented Interfaces:
RepushCandidateFilter
Prerequisite filter that checks cluster-level and store-level eligibility for log compaction.
This filter enforces:
- Cluster-level compaction is enabled
- Store is not a system store
- Store has hybrid config and active-active replication enabled
- Store-level compaction is enabled, store is not migrating, and writes are enabled
-
Constructor Summary
ConstructorsConstructorDescriptionStoreRepushCandidateFilter(VeniceControllerMultiClusterConfig multiClusterConfig) -
Method Summary
-
Constructor Details
-
StoreRepushCandidateFilter
-
-
Method Details
-
apply
Defined to implement RepushCandidateFilter interface This function will filter out stores using cluster and store configs- Specified by:
applyin interfaceRepushCandidateFilter- Parameters:
clusterName-storeInfo-- Returns:
- true if store should be nominated
-