package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

MakeController returns a Controller.
NewStoreWriteBytes constructs a new StoreWriteBytes.

# Variables

ConnectedStoreExpiration controls how long the RaftTransport layers considers a stream connected without it having observed any messages from it.
FlowTokenDispatchInterval determines the frequency at which we check for pending flow token dispatches from idle connections, in order to deliver them.
FlowTokenDispatchMaxBytes determines the maximum number of bytes of dispatch messages that are annotated onto a single RaftTransport message.
FlowTokenDropInterval determines the frequency at which we check for pending flow token dispatches to nodes we're no longer connected to, in order to drop them.
ProvisionedBandwidth set a value of the provisioned bandwidth for each store in the cluster.

# Structs

FollowerStoreWriteBytes captures stats about writes done to a store by a replica that is not the leaseholder.
Handle groups data around some piece admitted work.
TenantWeights contains the various tenant weights.
TenantWeightsForStore contains the tenant weights for a store.

# Interfaces

Controller provides admission control for the KV layer.
TenantWeightProvider can be periodically asked to provide the tenant weights.

# Type aliases

StoreWriteBytes aliases admission.StoreWorkDoneInfo, since the notion of "work is done" is specific to admission control and doesn't need to leak everywhere.