@Override protected final boolean operateOnPartitionedRegion(DistributionManager dm, PartitionedRegion region, long startTime) throws ForceReattemptException { PartitionedRegionDataStore dataStore = region.getDataStore(); boolean removed = dataStore.removeBucket(this.bucketId, this.forceRemovePrimary); region.getPrStats().endPartitionMessagesProcessing(startTime); RemoveBucketReplyMessage.send( getSender(), getProcessorId(), dm, null, removed); return false; }
@Override protected final boolean operateOnPartitionedRegion(DistributionManager dm, PartitionedRegion region, long startTime) throws ForceReattemptException { PartitionedRegionDataStore dataStore = region.getDataStore(); boolean removed = dataStore.removeBucket(this.bucketId, this.forceRemovePrimary); region.getPrStats().endPartitionMessagesProcessing(startTime); RemoveBucketReplyMessage.send( getSender(), getProcessorId(), dm, null, removed); return false; }