Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix deletion query and add debug #4177

Merged
merged 1 commit into from
Oct 25, 2022
Merged

Fix deletion query and add debug #4177

merged 1 commit into from
Oct 25, 2022

Conversation

theoilie
Copy link
Contributor

Description

  • Fixes last-minute changes that forgot to remove .dataValues since the query result for disk deletion can be used directly
  • Adds debug logs for each step of the disk deletion query

Tests

Integration tests are planned for disk deletion in the future. I tested locally with a debugger to make sure it's actually deleting now -- no more "Deleted 0/0" on staging

Monitoring - How will this change be monitored? Are there sufficient logs / alerts?

  • There shouldn't be any logs that start with "Deleted 0/0
  • Debug steps of disk deletion by searching for userFilesQueryResult, allUniqueFilesQueryResult, and userUniqueFiles

@theoilie theoilie added the content-node Content Node (previously known as Creator Node) label Oct 25, 2022
@theoilie theoilie merged commit ba9880f into main Oct 25, 2022
@theoilie theoilie deleted the theo-fix-deletion-query branch October 25, 2022 22:51
theoilie added a commit that referenced this pull request Oct 25, 2022
dmanjunath pushed a commit that referenced this pull request Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content-node Content Node (previously known as Creator Node) size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants