@Override
  public boolean isWriteIdValid(long writeId) {
    if (writeId > highWatermark) {
      return false;
    }
    return Arrays.binarySearch(exceptions, writeId) < 0;
  }
Used if there are no open write ids in the snapshot.
storage-api/src/java/org/apache/hadoop/hive/common/ValidReaderWriteIdList.java