-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* rewrite finish upload to get atomic size diff Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * decomposedfs: make finish upload atomic Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * add lock functions Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * allow locking non existing files, fix locking with existing lock Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * make returned error recognizable Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * more lock fixes Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * do not log nil error Co-authored-by: Andre Duffeck <aduffeck@users.noreply.github.com> * don't overwrite original error when deleting the blob fails Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * always release node lock Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * keep correct mtimes Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * fix adler checksum Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * stat before closing Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * fix lint ... and proper revision download is not covered by the CS3 api Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * fix permissions when downloading grants Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * update changelog Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * fix locks and revision restore Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * assemble permissions on the node when checking a revision Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * fix typos Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * allow revision download when user has initiate download and list revision permission Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * fix reading revision node Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * do not forget revision delimiter Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * drop old revision Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * remove unexpected failures Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * update changelog and unexpected passes Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * propagate size diff Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * fix move, add changelog Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * fix size diff calculation for now files Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * incorporate reviews Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * update tree mock Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * fix reva tests Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * update tree unit tests Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * clarify revisions code Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * silence valid return codes Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * read size before moving node to trash Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * fix s3ng revision download Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * clean up revision on error Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * use verbose newNode name Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * make FlockFile public and more readable Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * introduce FileLockSuffix Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * use filelock package instead of hardcoded strings Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * make linter happy Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> Co-authored-by: Andre Duffeck <aduffeck@users.noreply.github.com>
- Loading branch information
Showing
21 changed files
with
589 additions
and
250 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Bugfix: decomposedfs fix revision download | ||
|
||
We rewrote the finish upload code to use a write lock when creating and updating node metadata. This prevents some cornercases, allows us to calculate the size diff atomically and fixes downloading revisions. | ||
|
||
https://github.com/cs3org/reva/pull/3473 | ||
https://github.com/owncloud/ocis/issues/765 | ||
https://github.com/owncloud/ocis/issues/3868 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Bugfix: decomposedfs propagate sizediff | ||
|
||
We now propagate the size diff instead of calculating the treesize. This fixes the slower upload speeds in large folders. | ||
|
||
https://github.com/cs3org/reva/pull/3482 | ||
https://github.com/owncloud/ocis/issues/5061 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.