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