Repository navigation
Conversation
The quota stream wrapper was used to provide a hard quota that would truncate files when exceeding the quota. Since we decided to go with a soft quota, the stream wrapper isn't necessary any more. This fixes issues where file would randomly be truncated when the quota was almost reached, happening with encryption and could happen when uploading multiple files from multiple sources concurrently.
|
Rebased and fixed tests |
|
Please review @karlitschek @DeepDiver1975 @schiesbn @icewind1991 |
|
👍 |
|
Please hold ⛔ Maybe it would be a better idea to check how many bytes were written by This way the quota wrapper can keep doing what it was designed to do: simulate a fixed storage space. |
|
@PVince81 What is the definition of "Soft Quota"? I think we need to properly document the expected behaviour somewhere. |
|
Yes. There is already docs about the quota here: http://doc.owncloud.org/server/6.0/admin_manual/quota/index.html |
|
cc @butonic |
|
@PVince81 Ping |
|
I think we should revive this. The quota stream wrapper doesn't make sense because:
|
|
|
Let's revive this for 9.1 |
|
Not much reason keeping this open. To be redone once we address the ticket. |
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
The quota stream wrapper was used to provide a hard quota that would
truncate files when exceeding the quota. Since we decided to go with a
soft quota, the stream wrapper isn't necessary any more.
This fixes issues where file would randomly be truncated when the quota
was almost reached, happening with encryption and could happen when
uploading multiple files from multiple sources concurrently.
Fixes #7626
Note: It is not possible to properly test this before #7624 is merged.