Skip to content

Implement DB cleaner task for temporary data #2

@audunhalland

Description

@audunhalland

Temporary data can expire and should eventually cleaned from the database:

  • Sessions
  • Registration codes
  • Etc

The cleaner task typically runs periodically. It should only run on the cluster DB leader, it's pointless to run it on several nodes. A proper subsystem is needed for detecting leader change, and reacting to that by starting/stopping maintenance tasks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions