if(StoreRoutingPlan.checkKeyBelongsToNode(key.get(),
metadataStore.getNodeId(),
request.hasInitialCluster() ? new ClusterMapper().readCluster(new StringReader(request.getInitialCluster()))
: metadataStore.getCluster(),
metadataStore.getStoreDef(storeName))
&& filter.accept(key, value)) {
if(storageEngine.delete(key, value.getVersion())) {
deleteSuccess++;
if((deleteSuccess % 10000) == 0) {
logger.info(deleteSuccess + " entries deleted from node "
+ metadataStore.getNodeId() + " for store " + storeName);