public void commitState(State state) throws IOException {
        this.state = state;
        State.commit(path, state);
    }
Rows in memory has dump to local disk.
indexr-segment/src/main/java/io/indexr/segment/rt/RealtimeSegment.java