Skip to content

Pre-Flattening posts leftover in the DB are not purgeable #132

Description

@rossjrw

There's a bunch of notifiable_posts in the DB that were migrated from the old DB structure but pre-date the 1 year existence cap and don't have any attached context. The deletion mechanism works by looking for unused context and then deleting related posts, so it never catches these orphaned posts. They need to be cleaned up.

The orphaned posts account for something like 55% of post table row reads, so it's a significant amount of work that gets wasted on them.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions