-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Adding mode of operations - either single-instance or clustered-instance #29458
Conversation
market app already handles this properly - see https://github.com/owncloud/market/blob/c752a76f450cd3ab71718defaea71631a6d6e675/lib/MarketService.php#L89 We might want to change the error message .... |
market app related changes discussed in here - owncloud/market#184 (comment) |
@DeepDiver1975 are you suggesting that we leave the market app enabled even in clustered mode ? If we do, best UX would be to disable the "Install" button in the web UI with a message there. I think for now easier is likely to have the app auto-disable itself in app.php if it detects clustered mode ? |
absolutly - owncloud/market#184 (comment) |
@DeepDiver1975 ok, sounds good then. Let's make sure that at least the error message is based on the switch, telling the admin that apps need to be installed manually. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Codecov Report
@@ Coverage Diff @@
## master #29458 +/- ##
============================================
+ Coverage 60.84% 60.85% +<.01%
- Complexity 17238 17240 +2
============================================
Files 1032 1032
Lines 57365 57372 +7
============================================
+ Hits 34904 34912 +8
+ Misses 22461 22460 -1
Continue to review full report at Codecov.
|
codecov not happy on the two lines that read config |
8b40ce3
to
8f7c832
Compare
Backport stable10 #29492 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
Adds config switch let owncloud know if the instance is part of a cluster or not.
Instead of adding yet another boolean flag we will use two different values for the mode of operations.
This allows us to extend the operation modes in the future if necessary.
Related Issue
fixes #29444
How Has This Been Tested?
Types of changes
Checklist: