tablet

package
v0.0.0-...-c201ef6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Default_TabletStatusPB_State           = common.RaftGroupStatePB_UNKNOWN
	Default_TabletStatusPB_TabletDataState = common.TabletDataState_TABLET_DATA_UNKNOWN
)

Default values for TabletStatusPB fields.

Variables

View Source
var File_yb_tablet_tablet_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type MaintenanceManagerStatusPB

type MaintenanceManagerStatusPB struct {

	// The next operation that would run.
	BestOp *MaintenanceManagerStatusPB_MaintenanceOpPB `protobuf:"bytes,1,opt,name=best_op,json=bestOp" json:"best_op,omitempty"`
	// List of all the operations.
	RegisteredOperations []*MaintenanceManagerStatusPB_MaintenanceOpPB `protobuf:"bytes,2,rep,name=registered_operations,json=registeredOperations" json:"registered_operations,omitempty"`
	// This list is not guaranteed to be in any particular order. Can contain the same operation
	// multiple times.
	CompletedOperations []*MaintenanceManagerStatusPB_CompletedOpPB `protobuf:"bytes,3,rep,name=completed_operations,json=completedOperations" json:"completed_operations,omitempty"`
	// contains filtered or unexported fields
}

Used to present the maintenance manager's internal state.

func (*MaintenanceManagerStatusPB) Descriptor deprecated

func (*MaintenanceManagerStatusPB) Descriptor() ([]byte, []int)

Deprecated: Use MaintenanceManagerStatusPB.ProtoReflect.Descriptor instead.

func (*MaintenanceManagerStatusPB) GetBestOp

func (*MaintenanceManagerStatusPB) GetCompletedOperations

func (*MaintenanceManagerStatusPB) GetRegisteredOperations

func (*MaintenanceManagerStatusPB) MarshalJSON

func (m *MaintenanceManagerStatusPB) MarshalJSON() ([]byte, error)

func (*MaintenanceManagerStatusPB) ProtoMessage

func (*MaintenanceManagerStatusPB) ProtoMessage()

func (*MaintenanceManagerStatusPB) ProtoReflect

func (*MaintenanceManagerStatusPB) Reset

func (x *MaintenanceManagerStatusPB) Reset()

func (*MaintenanceManagerStatusPB) String

func (x *MaintenanceManagerStatusPB) String() string

func (*MaintenanceManagerStatusPB) UnmarshalJSON

func (m *MaintenanceManagerStatusPB) UnmarshalJSON(b []byte) error

type MaintenanceManagerStatusPB_CompletedOpPB

type MaintenanceManagerStatusPB_CompletedOpPB struct {
	Name           *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	DurationMillis *int32  `protobuf:"varint,2,req,name=duration_millis,json=durationMillis" json:"duration_millis,omitempty"`
	// Number of seconds since this operation started.
	SecsSinceStart *int32 `protobuf:"varint,3,req,name=secs_since_start,json=secsSinceStart" json:"secs_since_start,omitempty"`
	// contains filtered or unexported fields
}

func (*MaintenanceManagerStatusPB_CompletedOpPB) Descriptor deprecated

func (*MaintenanceManagerStatusPB_CompletedOpPB) Descriptor() ([]byte, []int)

Deprecated: Use MaintenanceManagerStatusPB_CompletedOpPB.ProtoReflect.Descriptor instead.

func (*MaintenanceManagerStatusPB_CompletedOpPB) GetDurationMillis

func (x *MaintenanceManagerStatusPB_CompletedOpPB) GetDurationMillis() int32

func (*MaintenanceManagerStatusPB_CompletedOpPB) GetName

func (*MaintenanceManagerStatusPB_CompletedOpPB) GetSecsSinceStart

func (x *MaintenanceManagerStatusPB_CompletedOpPB) GetSecsSinceStart() int32

func (*MaintenanceManagerStatusPB_CompletedOpPB) ProtoMessage

func (*MaintenanceManagerStatusPB_CompletedOpPB) ProtoReflect

func (*MaintenanceManagerStatusPB_CompletedOpPB) Reset

func (*MaintenanceManagerStatusPB_CompletedOpPB) String

type MaintenanceManagerStatusPB_MaintenanceOpPB

type MaintenanceManagerStatusPB_MaintenanceOpPB struct {
	Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	// Number of times this operation is currently running.
	Running           *uint32  `protobuf:"varint,2,req,name=running" json:"running,omitempty"`
	Runnable          *bool    `protobuf:"varint,3,req,name=runnable" json:"runnable,omitempty"`
	RamAnchoredBytes  *uint64  `protobuf:"varint,4,req,name=ram_anchored_bytes,json=ramAnchoredBytes" json:"ram_anchored_bytes,omitempty"`
	LogsRetainedBytes *int64   `protobuf:"varint,5,req,name=logs_retained_bytes,json=logsRetainedBytes" json:"logs_retained_bytes,omitempty"`
	PerfImprovement   *float64 `protobuf:"fixed64,6,req,name=perf_improvement,json=perfImprovement" json:"perf_improvement,omitempty"`
	// contains filtered or unexported fields
}

func (*MaintenanceManagerStatusPB_MaintenanceOpPB) Descriptor deprecated

Deprecated: Use MaintenanceManagerStatusPB_MaintenanceOpPB.ProtoReflect.Descriptor instead.

func (*MaintenanceManagerStatusPB_MaintenanceOpPB) GetLogsRetainedBytes

func (x *MaintenanceManagerStatusPB_MaintenanceOpPB) GetLogsRetainedBytes() int64

func (*MaintenanceManagerStatusPB_MaintenanceOpPB) GetName

func (*MaintenanceManagerStatusPB_MaintenanceOpPB) GetPerfImprovement

func (x *MaintenanceManagerStatusPB_MaintenanceOpPB) GetPerfImprovement() float64

func (*MaintenanceManagerStatusPB_MaintenanceOpPB) GetRamAnchoredBytes

func (x *MaintenanceManagerStatusPB_MaintenanceOpPB) GetRamAnchoredBytes() uint64

func (*MaintenanceManagerStatusPB_MaintenanceOpPB) GetRunnable

func (*MaintenanceManagerStatusPB_MaintenanceOpPB) GetRunning

func (*MaintenanceManagerStatusPB_MaintenanceOpPB) ProtoMessage

func (*MaintenanceManagerStatusPB_MaintenanceOpPB) ProtoReflect

func (*MaintenanceManagerStatusPB_MaintenanceOpPB) Reset

func (*MaintenanceManagerStatusPB_MaintenanceOpPB) String

type TabletStatusPB

type TabletStatusPB struct {
	TabletId        *string                  `protobuf:"bytes,1,req,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	NamespaceName   *string                  `protobuf:"bytes,15,opt,name=namespace_name,json=namespaceName" json:"namespace_name,omitempty"`
	TableName       *string                  `protobuf:"bytes,2,req,name=table_name,json=tableName" json:"table_name,omitempty"`
	TableId         *string                  `protobuf:"bytes,10,req,name=table_id,json=tableId" json:"table_id,omitempty"`
	State           *common.RaftGroupStatePB `protobuf:"varint,3,opt,name=state,enum=yb.tablet.RaftGroupStatePB,def=999" json:"state,omitempty"`
	TabletDataState *common.TabletDataState  `` /* 141-byte string literal not displayed */
	LastStatus      *string                  `protobuf:"bytes,4,req,name=last_status,json=lastStatus" json:"last_status,omitempty"`
	// DEPRECATED.
	StartKey []byte `protobuf:"bytes,5,opt,name=start_key,json=startKey" json:"start_key,omitempty"`
	// DEPRECATED.
	EndKey                       []byte              `protobuf:"bytes,6,opt,name=end_key,json=endKey" json:"end_key,omitempty"`
	EstimatedOnDiskSize          *int64              `protobuf:"varint,7,opt,name=estimated_on_disk_size,json=estimatedOnDiskSize" json:"estimated_on_disk_size,omitempty"`
	ConsensusMetadataDiskSize    *int64              `` /* 135-byte string literal not displayed */
	WalFilesDiskSize             *int64              `protobuf:"varint,12,opt,name=wal_files_disk_size,json=walFilesDiskSize" json:"wal_files_disk_size,omitempty"`
	SstFilesDiskSize             *int64              `protobuf:"varint,13,opt,name=sst_files_disk_size,json=sstFilesDiskSize" json:"sst_files_disk_size,omitempty"`
	UncompressedSstFilesDiskSize *int64              `` /* 146-byte string literal not displayed */
	Partition                    *common.PartitionPB `protobuf:"bytes,9,opt,name=partition" json:"partition,omitempty"`
	// contains filtered or unexported fields
}

func (*TabletStatusPB) Descriptor deprecated

func (*TabletStatusPB) Descriptor() ([]byte, []int)

Deprecated: Use TabletStatusPB.ProtoReflect.Descriptor instead.

func (*TabletStatusPB) GetConsensusMetadataDiskSize

func (x *TabletStatusPB) GetConsensusMetadataDiskSize() int64

func (*TabletStatusPB) GetEndKey

func (x *TabletStatusPB) GetEndKey() []byte

func (*TabletStatusPB) GetEstimatedOnDiskSize

func (x *TabletStatusPB) GetEstimatedOnDiskSize() int64

func (*TabletStatusPB) GetLastStatus

func (x *TabletStatusPB) GetLastStatus() string

func (*TabletStatusPB) GetNamespaceName

func (x *TabletStatusPB) GetNamespaceName() string

func (*TabletStatusPB) GetPartition

func (x *TabletStatusPB) GetPartition() *common.PartitionPB

func (*TabletStatusPB) GetSstFilesDiskSize

func (x *TabletStatusPB) GetSstFilesDiskSize() int64

func (*TabletStatusPB) GetStartKey

func (x *TabletStatusPB) GetStartKey() []byte

func (*TabletStatusPB) GetState

func (x *TabletStatusPB) GetState() common.RaftGroupStatePB

func (*TabletStatusPB) GetTableId

func (x *TabletStatusPB) GetTableId() string

func (*TabletStatusPB) GetTableName

func (x *TabletStatusPB) GetTableName() string

func (*TabletStatusPB) GetTabletDataState

func (x *TabletStatusPB) GetTabletDataState() common.TabletDataState

func (*TabletStatusPB) GetTabletId

func (x *TabletStatusPB) GetTabletId() string

func (*TabletStatusPB) GetUncompressedSstFilesDiskSize

func (x *TabletStatusPB) GetUncompressedSstFilesDiskSize() int64

func (*TabletStatusPB) GetWalFilesDiskSize

func (x *TabletStatusPB) GetWalFilesDiskSize() int64

func (*TabletStatusPB) MarshalJSON

func (m *TabletStatusPB) MarshalJSON() ([]byte, error)

func (*TabletStatusPB) ProtoMessage

func (*TabletStatusPB) ProtoMessage()

func (*TabletStatusPB) ProtoReflect

func (x *TabletStatusPB) ProtoReflect() protoreflect.Message

func (*TabletStatusPB) Reset

func (x *TabletStatusPB) Reset()

func (*TabletStatusPB) String

func (x *TabletStatusPB) String() string

func (*TabletStatusPB) UnmarshalJSON

func (m *TabletStatusPB) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL