Uh oh!
There was an error while loading. Please reload this page.
Enhance quota exceeded logging for admins - #37581
Conversation
joshtrichards
commented
Apr 5, 2023
For the record... Existing log entry for all quota issues:
New (where owner is applicable):
New (where owner is inapplicable but there's still a quota issue):
|
Uh oh!
There was an error while loading. Please reload this page.
d536688 to
3ebd206CompareUh oh!
There was an error while loading. Please reload this page.
szaimen
commented
May 16, 2023
/rebase |
3ebd206 to
0111e55Compareszaimen
commented
May 16, 2023
tests failing... |
Head branch was pushed to by a user without write access
3d6e63f to
3685013CompareFixed (at least for me... we'll have to see what the tests say). In the quota plugin, depending on which That's current behavior so I'm leaving it be, but I added a check for non-chunked uploads in The main reason non-chunked uploads triggered this is because the PUT operation never finishes (since the quota is exceeded) so there's really no file to check ownership of - all we have is the intended folder. All my manual testing was apparently based on doing >10 MB uploads. And the way that chunking-v2 uploads work, the MOVE was giving us what we expected for |
joshtrichards
commented
May 16, 2023
Incidentally this also fixes a "cosmetic" bug as a side effect versus current master behavior where hitting quota with uploads in the root folder were being mishandled in the logging/notifications: I'd noted this during various bits of testing but hadn't gotten around to checking for prior reports of or root causes for - so that's a nice benefit to this change even if it wasn't the target of (or caused by) this PR. Woohoo! |
skjnldsv
commented
May 30, 2024
What's the status here @joshtrichards :) |


Summary
Enhances quota exceeded server-side logging for administrators by adding:
Context: The existing
Insufficient spaceerror logging doesn't indicate the folder owner (which is important since the sharee path is what's logged). In addition, quota issues are addressed differently than, say, disk space issues so administrators benefit from quickly noting the type ofInsufficient spaceissue occurring.Applies to file/folder operations: uploads, moves, copies
Also:
Addresses backend portion of #37519
*Currently working on independent (but related) PRs to unify frontend messaging with same target folder owner inclusion (when applicable)
TODO
Checklist