Repository navigation
[master] Fixed used space to be based on unencrypted size - #7624
Conversation
|
Still testing, I'm having some strange behavior regarding to size calculation. |
|
🚀 Test Passed. 🚀 |
|
I've discovered this issue while testing: #7626 This PR here is still valid. At least the time where the truncation might happen is postponed... Please review. |
|
code looks good 👍 |
|
👍 as discussed |
This fixes the "used space" to be based on the unencrypted size, not encrypted size, to be consistent with how quota/space is handled when encryption is enabled
|
I fixed the unit test and added new ones: 48d63a6#diff-0a489e99116bf247b98206f478219ee4R56 |
|
💣 Test Failed. 💣 |
|
The inspection completed: 7 new/changed issues, 5 added/modified code elements |
|
@owncloud-bot retest this please |
|
🚀 Test Passed. 🚀 |
[master] Fixed used space to be based on unencrypted size
|
@karlitschek backport to stable6 ? The prerequisites for this were already backported a while ago. |
|
yes please |
|
Something weird happened to these commits, I can't find them on stable6 any more... This is the reason why the test in #7834 is failing (saved by unit tests!) |
This fixes the "used space" to be based on the unencrypted size, not encrypted size, to be consistent with how quota/space is handled when encryption is enabled.
The prerequisite was that unencrypted size of folders is propagated to the root folder.
Please review @karlitschek @schiesbn @ser72