Skip to content
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

fix(db): Fix replica password example config #42890

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

ChristophWurst
Copy link
Member

@ChristophWurst ChristophWurst commented Jan 17, 2024

  • Resolves: #

Summary

Replica config is an associative array with password=>password.

Ref #41998

Checklist

@@ -155,8 +155,8 @@
* Specify read only replicas to be used by Nextcloud when querying the database
*/
'dbreplica' => [
['user' => 'replica1', 'password', 'host' => '', 'dbname' => ''],
['user' => 'replica1', 'password', 'host' => '', 'dbname' => ''],
['user' => 'replica1', 'password' => 'password1', 'host' => '', 'dbname' => ''],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
['user' => 'replica1', 'password' => 'password1', 'host' => '', 'dbname' => ''],
['user' => 'nextcloud', 'password' => 'password1', 'host' => 'replica1', 'dbname' => 'nextcloud'],

['user' => 'replica1', 'password', 'host' => '', 'dbname' => ''],
['user' => 'replica1', 'password', 'host' => '', 'dbname' => ''],
['user' => 'replica1', 'password' => 'password1', 'host' => '', 'dbname' => ''],
['user' => 'replica2', 'password' => 'password2', 'host' => '', 'dbname' => ''],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
['user' => 'replica2', 'password' => 'password2', 'host' => '', 'dbname' => ''],
['user' => 'nextcloud', 'password' => 'password2', 'host' => 'replica2', 'dbname' => 'nextcloud'],

@ChristophWurst ChristophWurst added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Jan 22, 2024
@juliushaertl juliushaertl force-pushed the fix/db/replica-password-sample-config branch from 74a7291 to 5dd7513 Compare January 23, 2024 07:17
@juliushaertl juliushaertl merged commit 9bce24b into master Jan 23, 2024
53 checks passed
@juliushaertl juliushaertl deleted the fix/db/replica-password-sample-config branch January 23, 2024 08:30
@blizzz blizzz mentioned this pull request Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants