hunk.code_window: 			s[model.STATUS] = model.STATUS_UNHEALTHY
   		} else {
   			healthCheck, readErr := c.App.Srv().Store.System().GetByName(healthCheckKey)
   			if readErr != nil {
   				mlog.Debug("Unable to read from database.", mlog.Err(readErr))
   				s[dbStatusKey] = model.STATUS_UNHEALTHY
   				s[model.STATUS] = model.STATUS_UNHEALTHY
   			} else if healthCheck.Value != currentTime {
  
hunk.labels: keep keep keep keep replace keep keep keep
hunk.after_edit: 				mlog.Warn("Unable to read from database.", mlog.Err(readErr))
  
hunk.file_path: api4/system.go
hunk.type: replace
file: // Copyright 2012-present Oliver Eilhard. All rights reserved.
  // Use of this source code is governed by a MIT-license.
  // See http://olivere.mit-license.org/license.txt for details.
  
  package elastic
  
  // BucketCountThresholds is used in e.g. terms and significant text aggregations.
  type BucketCountThresholds struct {
  	MinDocCount      *int64
  	ShardMinDocCount *int64
  	RequiredSize     *int
  	ShardSize        *int
  }
  