Documentation ¶
Index ¶
Constants ¶
View Source
const (
TnStoreCapacity = 32
)
Variables ¶
This section is empty.
Functions ¶
func Check ¶
func Check( idAlloc util.IDAllocator, cfg hakeeper.Config, cluster pb.ClusterInfo, tnState pb.TNState, user pb.TaskTableUser, currTick uint64, ) []*operator.Operator
Check checks tn state and generate operator for expired tn store. The less shard ID, the higher priority. NB: the returned order should be deterministic.
Types ¶
type ShardMapper ¶ added in v0.6.0
type ShardMapper interface {
// contains filtered or unexported methods
}
ShardMapper used to get log shard ID for tn shard
Click to show internal directories.
Click to hide internal directories.