public void removeIdAndBucket(int bucketId, InternalDistributedMember memberId, int serial,
      boolean regionDestroyed) {
    synchronized (preInitQueueMonitor) {
      if (preInitQueue != null) {
        // Queue profile during pre-initialization
        QueuedBucketProfile qbf =
            new QueuedBucketProfile(bucketId, memberId, serial, regionDestroyed);
        preInitQueue.add(qbf);
        return;
      }
    }

    if (buckets != null) {
      buckets[bucketId].getBucketAdvisor().removeIdWithSerial(memberId, serial, regionDestroyed);
    }
  }
Clear the knowledge of given member from this advisor. In particular, clear the knowledge of
remote Bucket locations so that we avoid sending partition messages to buckets that will soon
be destroyed.

@param memberId member that has closed the region
@param prSerial serial number of this partitioned region
@param serials serial numbers of buckets that need to be removed
geode-core/src/main/java/org/apache/geode/internal/cache/partitioned/RegionAdvisor.java