code: func (r *raftLog) DeleteRange(min, max uint64) (retErr error) {
  	r.Lock()
  	defer r.Unlock()
  
  	start := time.Now()
  	r.log.Noticef("Deleting raft logs from %v to %v", min, max)
  	err := r.deleteRange(min, max)
  	dur := time.Since(start)
  	durTxt := fmt.Sprintf("Deletion took %v", dur)
  	if dur > 2*time.Second {
  		r.log.Errorf(durTxt)
  	} else {
  		r.log.Noticef(durTxt)
  	}
  	return err
  }
docs: // DeleteRange implements the LogStore interface