private boolean addFirst(ImmutableSegment segment) {
    pipeline.addFirst(segment);
    return true;
  }
Checking that the {@link Segment}s in suffix input parameter is same as the {@link Segment}s in
{@link CompactionPipeline#pipeline} one by one from the last element to the first element of
suffix. If matched, remove suffix from {@link CompactionPipeline#pipeline}. <br/>
Must be called under the {@link CompactionPipeline#pipeline} Lock.
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/CompactionPipeline.java