Skip to content

Retrieve storage numeric id earlier when still available - #11546

Merged
PVince81 merged 1 commit into
masterfrom
users-deletewithfilecache
Oct 13, 2014
Merged

PVince81 merged 1 commit into
masterfrom
users-deletewithfilecache

Conversation

@PVince81

Copy link
Copy Markdown
Contributor

The numeric id is only available before the storage entry is deleted, so
get it at that time.

Fixes #11545

Please review @icewind1991 @MorrisJobke @LukasReschke

The numeric id is only available before the storage entry is deleted, so
get it at that time.
@icewind1991

Copy link
Copy Markdown
Contributor

Makes sense 👍

@MorrisJobke

Copy link
Copy Markdown
Contributor

Is it possible to drop all files in the file_cache that have an invalid storage_id?

@MorrisJobke

Copy link
Copy Markdown
Contributor

Works 👍

@PVince81

Copy link
Copy Markdown
Contributor Author

@MorrisJobke it will be possible in the future as part of a repair step: #7874

@ghost

ghost commented Oct 13, 2014

Copy link
Copy Markdown

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

Build result: FAILURE

[...truncated 7 lines...] > git fetch --tags --progress https://github.com/owncloud/core.git +refs/pull/:refs/remotes/origin/pr/ > git rev-parse origin/pr/11546/merge^{commit} # timeout=10Checking out Revision ec77b90daf8da55b1c49f0dfb9157caddd9ccc4b (detached) > git config core.sparsecheckout # timeout=10 > git checkout -f ec77b90daf8da55b1c49f0dfb9157caddd9ccc4b > git rev-list ac247cd6b1804a456181032e910d09f930332164 # timeout=10 > 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 » sqlite,vm-slave-02Configuration pull-request-analyser-ng » sqlite,vm-slave-02 is still in the queue: Waiting for next available executor on vm-slave-02Triggering pull-request-analyser-ng » oci,vm-slave-02Triggering pull-request-analyser-ng » pgsql,vm-slave-02Triggering pull-request-analyser-ng » mysql,vm-slave-02Configuration pull-request-analyser-ng » oci,vm-slave-02 is still in the queue: Waiting for next available executor on vm-slave-02pull-request-analyser-ng » oci,vm-slave-02 completed with result FAILUREpull-request-analyser-ng » pgsql,vm-slave-02 completed with result FAILUREpull-request-analyser-ng » mysql,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 11 second
💣 Test FAILed. 💣

@PVince81

Copy link
Copy Markdown
Contributor Author

Buh... this change cannot be unit tested anyway. Merging.

PVince81 pushed a commit that referenced this pull request Oct 13, 2014
Retrieve storage numeric id earlier when still available
@PVince81
PVince81 merged commit e95372b into master Oct 13, 2014
@PVince81
PVince81 deleted the users-deletewithfilecache branch October 13, 2014 15:27
@PVince81

Copy link
Copy Markdown
Contributor Author

@karlitschek backport to stable7 ?

@karlitschek

Copy link
Copy Markdown
Contributor

please backport

@PVince81

Copy link
Copy Markdown
Contributor Author

I'm on it.

@PVince81

Copy link
Copy Markdown
Contributor Author

stable7: d6a3806

@scrutinizer-notifier

Copy link
Copy Markdown

The inspection completed: No new issues

@lock lock Bot locked as resolved and limited conversation to collaborators Aug 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

oc_filecache not cleared after user deletion

5 participants