Skip to content

Soft fail in CustomPropertiesBackend whenever storage not available - #15126

Merged
MorrisJobke merged 1 commit into
masterfrom
sabre-storagenotavailable
Mar 24, 2015
Merged

MorrisJobke merged 1 commit into
masterfrom
sabre-storagenotavailable

Conversation

@PVince81

Copy link
Copy Markdown
Contributor

When a storage is not available, it will not fail the whole call any
more but still return a usable file list.

Similar to #14994 but for unavailable storages.

Steps:

  1. Mount an s2s share in "/mount"
  2. Enable maintanance mode in the remote OC
  3. PROPFIND on the root

Before: get 503 without any result
After: get 200 with a proper file list when PROPFIND on "/". PROPFIND on "/mount" will give 503.

Please review @LukasReschke @nickvergessen @DeepDiver1975 @icewind1991

When a storage is not available, it will not fail the whole call any
more but still return a usable file list.
@PVince81 PVince81 added this to the 8.1-current milestone Mar 23, 2015
@scrutinizer-notifier

Copy link
Copy Markdown

A new inspection was created.

@PVince81

Copy link
Copy Markdown
Contributor Author

This exists since the sabre upgrade to 2.1

@ghost

ghost commented Mar 23, 2015

Copy link
Copy Markdown

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

@icewind1991

Copy link
Copy Markdown
Contributor

Makes sense 👍

@PVince81

Copy link
Copy Markdown
Contributor Author

Needs a second reviewer @MorrisJobke

@MorrisJobke

Copy link
Copy Markdown
Contributor

Works very well 👍

MorrisJobke added a commit that referenced this pull request Mar 24, 2015
Soft fail in CustomPropertiesBackend whenever storage not available
@MorrisJobke
MorrisJobke merged commit 92791bb into master Mar 24, 2015
@MorrisJobke
MorrisJobke deleted the sabre-storagenotavailable branch March 24, 2015 13:01
@lock lock Bot locked as resolved and limited conversation to collaborators Aug 13, 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.

4 participants