github.com/milvus-io/milvus-sdk-go/v2@v2.4.1/entity/check_health.go (about)

     1  package entity
     2  
     3  type QuotaState int32
     4  
     5  const (
     6  	// QuotaStateUnknown zero value placeholder
     7  	QuotaStateUnknown QuotaState = 0
     8  	// QuotaStateReadLimited too many read tasks, read requests are limited
     9  	QuotaStateReadLimited QuotaState = 2
    10  	// QuotaStateWriteLimited too many write tasks, write requests are limited
    11  	QuotaStateWriteLimited QuotaState = 3
    12  	// QuotaStateDenyToRead too many read tasks, temporarily unable to process read requests
    13  	QuotaStateDenyToRead QuotaState = 4
    14  	// QuotaStateDenyToWrite too many write tasks, temporarily unable to process write requests
    15  	QuotaStateDenyToWrite QuotaState = 5
    16  )
    17  
    18  type MilvusState struct {
    19  	IsHealthy   bool
    20  	Reasons     []string
    21  	QuotaStates []QuotaState
    22  }