@Override
    public void close() throws IOException {
        seal();
        super.close();
    }
End up update this Segment. Flush the cache to file and close the open files.
After this call, any ingesting operation will rise exceptions.
indexr-segment/src/main/java/io/indexr/segment/storage/DPSegment.java