Skip to content

Configs ID will eventually overflow #828

Open
@leth

Description

@leth

As @marccarre observed in #827 (comment)
Our config IDs are represented as golang int but sourced from a postgreSQL serial which can reach 2147483647, which will overflow the int.

If unfixed, it will cause the ruler to reload more rules than necessary, and (if #827 is merged) cause out of date rules to be interleaved with new rules (#723).

This is unlikely to cause a problem anytime soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/rulesBits & bobs todo with rules and alerts: the ruler, config service etc.keepaliveSkipped by stale bot

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions