MCPcopy
hub / github.com/grafana/tempo / pendingBlockKey

Function pendingBlockKey

modules/backendscheduler/work/work.go:27–29  ·  view source on GitHub ↗

pendingBlockKey returns a stable key for the blocks-pending index (tenant + blockID).

(tenantID, blockID string)

Source from the content-addressed store, hash-verified

25
26// pendingBlockKey returns a stable key for the blocks-pending index (tenant + blockID).
27func pendingBlockKey(tenantID, blockID string) string {
28 return tenantID + "\x00" + blockID
29}
30
31// Shard represents a single shard containing a subset of jobs
32type Shard struct {

Callers 2

IsBlockBusyMethod · 0.85
runningBlockKeysFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected