Details
- Reviewers
tomek ashoat - Commits
- rCOMMc5cb285b30cf: [keyserver] Remove holders in account deleters
Enabled blob-hosted user avatars. Created an account, set image avatar, then deleted the account and watched the logs. Similiarly to D13513, a blob was uploaded and then its holder was removed
Diff Detail
- Repository
- rCOMM Comm
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
keyserver/src/deleters/account-deleters.js | ||
---|---|---|
84 | Same concern as in https://phab.comm.dev/D13512?id=44665#inline-77250 |
keyserver/src/deleters/account-deleters.js | ||
---|---|---|
84 | This one is a bit more complicated than the others. I don't think we should fail the account deletion if the holders fail to be deleted. Instead, I think we should mark the uploads as "unassigned" by wiping container and user_container. Then later, the delete will be retried by deleteUnassignedUploads. So I'm suggesting:
|
keyserver/src/deleters/account-deleters.js | ||
---|---|---|
41–49 ↗ | (On Diff #44749) | I'm not sure about this part. I tried to achieve this:
|