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

Function ValidateShardCount

tempodb/encoding/common/bloom.go:88–93  ·  view source on GitHub ↗

For backward compatibility

(shardCount int)

Source from the content-addressed store, hash-verified

86
87// For backward compatibility
88func ValidateShardCount(shardCount int) int {
89 if shardCount == 0 {
90 return legacyShardCount
91 }
92 return shardCount
93}

Callers 4

CopyBlockFunction · 0.92
CopyBlockFunction · 0.92
CopyBlockFunction · 0.92
ShardKeyForTraceIDFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected