Skip to content

[12] Double check for failed cache with a shared storage - #12110

Merged
MorrisJobke merged 1 commit into
stable12from
backport/11862/stable12
Oct 29, 2018
Merged

[12] Double check for failed cache with a shared storage#12110
MorrisJobke merged 1 commit into
stable12from
backport/11862/stable12

Conversation

@rullzer

Copy link
Copy Markdown
Member

Backport #11862

When obtaining the SourceRootInfo we can call init. If this fails the
cache is set to a failed cache and the storage to a failed storage.
However we did not check for this. Which means that if the storage was
invalid it would fail later on.
Now we will properly error out.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
@rullzerrullzer added bug 3. to review Waiting for reviews labels Oct 29, 2018
@rullzerrullzer added this to the Nextcloud 12.0.13 milestone Oct 29, 2018
@MorrisJobke
MorrisJobke merged commit 04bfb6f into stable12Oct 29, 2018
@MorrisJobke
MorrisJobke deleted the backport/11862/stable12 branch October 29, 2018 16:20
@MorrisJobkeMorrisJobke mentioned this pull request Nov 13, 2018
@MorrisJobkeMorrisJobke mentioned this pull request Nov 22, 2018
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@rullzer@MorrisJobke@icewind1991