MCPcopy Create free account
hub / github.com/cortexproject/cortex / ownUserForCleanUp

Method ownUserForCleanUp

pkg/compactor/compactor.go:1162–1164  ·  view source on GitHub ↗
(userID string)

Source from the content-addressed store, hash-verified

1160}
1161
1162func (c *Compactor) ownUserForCleanUp(userID string) (bool, error) {
1163 return c.ownUser(userID, true)
1164}
1165
1166func (c *Compactor) getShardSizeForUser(userID string) int {
1167 return util.DynamicShardSize(c.limits.CompactorTenantShardSize(userID), c.ring.InstancesCount())

Callers

nothing calls this directly

Calls 1

ownUserMethod · 0.95

Tested by

no test coverage detected