public static boolean canMerge(TimeRange left, TimeRange right) {
    // [1,3] can merge with [4, 5]
    // [1,3] cannot merge with [5,6]
    // [Long.MIN,3] can merge with [Long.MIN, 5]
    long extendedRightMin = right.getMin() == Long.MIN_VALUE ? right.getMin() : right.getMin() - 1;
    return extendedRightMin <= left.getMax();
  }
construct a deletion list from a memtable.

@param memTable memtable
@param timeLowerBound time watermark
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/ModificationUtils.java