docs: public void pushAndDrop(DataSegment dataSegment)
    {
      checkStateTransition(this.state, SegmentState.APPENDING, SegmentState.PUSHED_AND_DROPPED);
      this.state = SegmentState.PUSHED_AND_DROPPED;
      this.dataSegment = dataSegment;
    }