Retry moving mountpoint sane amount of times#37956
Conversation
|
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
Codecov Report
@@ Coverage Diff @@
## master #37956 +/- ##
============================================
- Coverage 65.22% 64.71% -0.51%
- Complexity 19445 19448 +3
============================================
Files 1286 1286
Lines 76031 76043 +12
Branches 1336 1336
============================================
- Hits 49590 49215 -375
+ Misses 26441 26434 -7
- Partials 0 394 +394
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
|
Is it possible to get the list of the mount points from the DB somehow? Otherwise, I agree we should make the amount of times configurable. |
|
@jvillafanez we know nothing about DB in the context of lib/private/Files/Config/MountProviderCollection.php |
|
https://drone.owncloud.com/owncloud/core/27320/139/15 This sort of problem was reported: I don't see how the code in this PR could break that. I will restart drone... |
|
And this time it passed. |
|
@VicDeo Can we make the amount of retries configurable? |
|
This is docs relevant (config-to-docs run) because of a change in |
|
@mmattel frankly speaking I just made it configurable as requested. The only explanation I can add: "if you don't know what is it about then you most likely have no need to adjust it" |
I completely agree. In case it gets merged, 3 months later, nobody will remember what it was about. Means, you do not only add a improved description for endusers, but also for ownCloud itself to prevent that. |
|
@mmattel I don't know how to explain it properly 0 There could be a collision of the l mount point name for local and remote shares. E.g. when both are named
|
|
What about: Pls check the text if valid and consistent and adopt if needed. |
|
@mmattel what about Is it clear enough? |
|
This is great 👍 |
|
I don't see a changelog entry yet? And needs a rebase due to the composer 2.0 changes 2 days ago. |
|
Kudos, SonarCloud Quality Gate passed!
|
phil-davis
left a comment
There was a problem hiding this comment.
Looks OK to me now.
@jvillafanez review?
Description
falseas expectedRelated Issue
Motivation and Context
a newly generated mounpoint path may exist but hasn't been mount yet. An attempt to move to this path will cause breaking constraint on index
sh_external_mpforoc_share_externaltableHow Has This Been Tested?
no exact reproduction steps provided 🙅
Types of changes
Checklist: