code: func (e *Engine) DeleteBucket(orgID, bucketID platform.ID) error {
  	e.mu.RLock()
  	defer e.mu.RUnlock()
  	if e.closing == nil {
  		return ErrEngineClosed
  	}
  
  	// TODO(edd): we need to clean up how we're encoding the prefix so that we
  	// don't have to remember to get it right everywhere we need to touch TSM data.
  	encoded := tsdb.EncodeName(orgID, bucketID)
  	prefix := models.EscapeMeasurement(encoded[:])
  
  	return e.engine.DeletePrefix(prefix, math.MinInt64, math.MaxInt64)
  }
docs: // DeleteBucket deletes an entire bucket from the storage engine.