Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

test(files): add tests to confirm reads don't impact quota in stream_read - #57458

Closed
joshtrichards wants to merge 3 commits into
masterfrom
jtr/fix-files-stream-quota-streamRead
Closed

joshtrichards wants to merge 3 commits into
masterfrom
jtr/fix-files-stream-quota-streamRead

Conversation

@joshtrichards

Copy link
Copy Markdown
Member
  • Resolves: #

Summary

TODO

  • ...

Checklist

…read

Signed-off-by: Josh <josh.t.richards@gmail.com>
Refactors Quota stream logic so that quota is only decremented when writes grow the file, not on overwrites, reads, or seeks. This ensures quota enforcement is robust and matches expected storage semantics. Adds extra safety checks after writing to prevent quota drift.

Follow-up to #55731

Signed-off-by: Josh <josh.t.richards@gmail.com>
…verwrites

Signed-off-by: Josh <josh.t.richards@gmail.com>
@susnux susnux added the community pull requests from community label Jun 9, 2026
@susnux susnux added this to the Nextcloud 35 milestone Jun 9, 2026
@blizzz blizzz mentioned this pull request Aug 27, 2026
@susnux

susnux commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Closing this pull request as it has been in draft state without any activity for more than six months.
If you are still interested in this change, feel free to revive it and reopen it (or ask us to reopen it if you cannot).
Thank you for your contribution!

@susnux susnux closed this Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community pull requests from community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants