Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] introduction of interface IChunkHandler and a very first stupid implemen... #12160

Closed
wants to merge 4 commits into from

Conversation

DeepDiver1975
Copy link
Member

...tation reusing the existing chunking mechanism

🚧

refs #4997

@icewind1991 @PVince81

@ghost
Copy link

ghost commented Nov 13, 2014

🚀 Test PASSed. 🚀
Refer to this link for build results (access rights to CI server needed):
https://ci.owncloud.org//job/pull-request-analyser-ng-simple/2589/
🚀 Test PASSed. 🚀

$complete = false;
$actualSize = $chunkHandler->getCurrentSize();

if ($chunkHandler->isComplete()) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, so the last chunk would trigger assembling.

I'm not sure, I'd have moved this to a separate function but am not sure why. Maybe to give the caller more control of when they want to do the assembling.

If you decide to keep it this way, it might be a good idea to at least expose isComplete() on the interface.

@ghost
Copy link

ghost commented Nov 13, 2014

🚀 Test PASSed. 🚀
Refer to this link for build results (access rights to CI server needed):
https://ci.owncloud.org//job/pull-request-analyser-ng-simple/2598/
🚀 Test PASSed. 🚀

@PVince81
Copy link
Contributor

From a first look it looks good.

@DeepDiver1975
Copy link
Member Author

@karlitschek @schiesbn @icewind1991 @craigpg this approach only appears to be reasonable in case we decide on moving encryption on a different layer of the implementation.

From my point of view this is highly necessary to further improve the implementation to fit the needs of upcoming performance tasks/enhancments.

@karlitschek
Copy link
Contributor

I think this makes sense to be more flexible in the future. would love to hear opinions from @icewind1991 @schiesbn @PVince81

@ghost
Copy link

ghost commented Nov 21, 2014

💣 Test FAILed. 💣
Refer to this link for build results (access rights to CI server needed):
https://ci.owncloud.org//job/pull-request-analyser-ng-simple/2972/
💣 Test FAILed. 💣

@PVince81 PVince81 mentioned this pull request Nov 28, 2014
22 tasks
@DeepDiver1975 DeepDiver1975 force-pushed the file-chunking-next-generation branch from fcf6170 to 33fd130 Compare December 8, 2014 15:47
@ghost
Copy link

ghost commented Dec 8, 2014

💣 Test FAILed. 💣
Refer to this link for build results (access rights to CI server needed):
https://ci.owncloud.org//job/pull-request-analyser-ng-simple/4019/

Build result: FAILURE

[...truncated 17 lines...]using GIT_SSH to set credentials using .gitcredentials to set credentials > git config --local credential.helper store --file=/tmp/git7250515416477020951.credentials # timeout=10 > git fetch --tags --progress https://github.com/owncloud/core.git +refs/pull/:refs/remotes/origin/pr/ > git config --local --remove-section credential # timeout=10 > git rev-parse origin/pr/12160/merge^{commit} # timeout=10 > git branch -a --contains 86703d9f5b8a639619a641e41ece9faf714d3e89 # timeout=10 > git rev-parse remotes/origin/pr/12160/merge^{commit} # timeout=10Checking out Revision 86703d9f5b8a639619a641e41ece9faf714d3e89 (origin/pr/12160/merge) > git config core.sparsecheckout # timeout=10 > git checkout -f 86703d9f5b8a639619a641e41ece9faf714d3e89First time build. Skipping changelog. > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule update --init --recursiveTriggering pull-request-analyser-ng-simple » vm-slave-02Configuration pull-request-analyser-ng-simple » vm-slave-02 is still in the queue: Waiting for next available executor on vm-slave-02pull-request-analyser-ng-simple » vm-slave-02 completed with result FAILUREStarted calculate disk usage of buildFinished Calculation of disk usage of build in 0 secondsStarted calculate disk usage of workspaceFinished Calculation of disk usage of workspace in 5 minutes
💣 Test FAILed. 💣

@ghost
Copy link

ghost commented Dec 8, 2014

💣 Test FAILed. 💣
Refer to this link for build results (access rights to CI server needed):
https://ci.owncloud.org//job/pull-request-analyser-ng-simple/4030/

Build result: FAILURE

[...truncated 17 lines...]using GIT_SSH to set credentials using .gitcredentials to set credentials > git config --local credential.helper store --file=/tmp/git7366917722331903229.credentials # timeout=10 > git fetch --tags --progress https://github.com/owncloud/core.git +refs/pull/:refs/remotes/origin/pr/ > git config --local --remove-section credential # timeout=10 > git rev-parse origin/pr/12160/merge^{commit} # timeout=10 > git branch -a --contains c192f73f327004fd3eb8d2cd6d8c0b4fc55a7e2e # timeout=10 > git rev-parse remotes/origin/pr/12160/merge^{commit} # timeout=10Checking out Revision c192f73f327004fd3eb8d2cd6d8c0b4fc55a7e2e (origin/pr/12160/merge) > git config core.sparsecheckout # timeout=10 > git checkout -f c192f73f327004fd3eb8d2cd6d8c0b4fc55a7e2eFirst time build. Skipping changelog. > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule update --init --recursiveTriggering pull-request-analyser-ng-simple » vm-slave-02Configuration pull-request-analyser-ng-simple » vm-slave-02 is still in the queue: Waiting for next available executor on vm-slave-02pull-request-analyser-ng-simple » vm-slave-02 completed with result FAILUREStarted calculate disk usage of buildFinished Calculation of disk usage of build in 0 secondsStarted calculate disk usage of workspaceFinished Calculation of disk usage of workspace in 3 minutes 18 seconds
💣 Test FAILed. 💣

@scrutinizer-notifier
Copy link

The inspection completed: 9 new issues, 12 updated code elements

@ghost
Copy link

ghost commented Apr 30, 2015

Refer to this link for build results (access rights to CI server needed):
https://ci.owncloud.org//job/pull-request-analyser-ng-simple/12071/
💣 Test FAILed. 💣

nooo432

@PVince81
Copy link
Contributor

PVince81 commented Jul 3, 2015

So will we continue this for 8.2 ?

@PVince81
Copy link
Contributor

PVince81 commented Jul 3, 2015

We probably want #17104 first

@DeepDiver1975
Copy link
Member Author

We probably want #17104 first

yes - there might be no necessity to have storage specific implementations ....

@DeepDiver1975
Copy link
Member Author

let me close this

@DeepDiver1975 DeepDiver1975 deleted the file-chunking-next-generation branch July 3, 2015 12:54
@lock lock bot locked as resolved and limited conversation to collaborators Aug 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants