protected boolean destroyFromAvailableIDsAndRegion(Long position) throws InterruptedException {
    if (logger.isDebugEnabled()) {
      logger.debug("Removing position " + position + " from available IDs and region. Region: "
          + regionName);
    }

    boolean removedOK = destroyFromAvailableIDs(position);

    if (removedOK) {
      try {
        destroyFromQueue(position);
      } catch (EntryNotFoundException ignore) {
        if (!destroyInProgress) {
          if (!region.isDestroyed()) {
            Assert.assertTrue(false, "HARegionQueue::remove: The position " + position
                + "existed in availableIDs set but not in Region object is not expected");
          }
        }
      }
    }
    return removedOK;
  }
Destroys the entry at the position from the Region. It checks for the presence of the position
in the AvailableID Set. If the position existed in the Set, then only it is removed from the
Set & the underlying Region

@param position Long position counter for entry in the Region
@return true if the entry with <br>
        position <br>
        specified was removed from the Set
geode-core/src/main/java/org/apache/geode/internal/cache/ha/HARegionQueue.java