HomePhabricator
Diffusion Comm 6bbec181195c

[keyserver] Add cron to delete orphaned invite links

Description

[keyserver] Add cron to delete orphaned invite links

Summary:
I noticed that invite links aren't deleted when deleting their corresponding communities. I then checked MariaDB in production and found several orphaned invite links.

In later diffs I'll make sure we delete invite links when we delete communities. This diff introduces a cronjob to clean up orphaned blobs.

Depends on D13731

Test Plan: I deployed this as a script to my personal server and ran it there. I confirmed that the blobs were removed from both MariaDB and DynamoDB

Reviewers: tomek

Reviewed By: tomek

Differential Revision: https://phab.comm.dev/D13732

Details

Provenance
ashoatAuthored on Wed, Oct 16, 11:23 AM
Reviewer
tomek
Differential Revision
D13732: [keyserver] Add cron to delete orphaned invite links
Parents
rCOMM434d919a439c: [keyserver] Also delete from ids table when deleting invite links
Branches
Unknown
Tags
Unknown