(userID string)
| 1164 | } |
| 1165 | |
| 1166 | func (c *Compactor) getShardSizeForUser(userID string) int { |
| 1167 | return util.DynamicShardSize(c.limits.CompactorTenantShardSize(userID), c.ring.InstancesCount()) |
| 1168 | } |
| 1169 | |
| 1170 | func (c *Compactor) ownUser(userID string, isCleanUp bool) (bool, error) { |
| 1171 | if !c.allowedTenants.IsAllowed(userID) { |