private final int nonOpenRowCompare(Cell k1, byte[] k2) {
    assert !isOpen(k1) && !isOpen(k2);
    return cellComparator.compareRows(k1, k2, 0, k2.length);
  }
Compare two keys. Keys must not be open (isOpen(row) == false).
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StripeStoreFileManager.java