-
Notifications
You must be signed in to change notification settings - Fork 66
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
DOC DB read-only replicas #587
DOC DB read-only replicas #587
Conversation
114703d
to
8ff5036
Compare
07d3b24
to
3e95db2
Compare
en/02_Developer_Guides/08_Performance/07_DB_read_only_replicas.md
Outdated
Show resolved
Hide resolved
en/02_Developer_Guides/08_Performance/07_DB_read_only_replicas.md
Outdated
Show resolved
Hide resolved
en/02_Developer_Guides/08_Performance/07_DB_read_only_replicas.md
Outdated
Show resolved
Hide resolved
en/02_Developer_Guides/08_Performance/07_DB_read_only_replicas.md
Outdated
Show resolved
Hide resolved
en/02_Developer_Guides/08_Performance/07_DB_read_only_replicas.md
Outdated
Show resolved
Hide resolved
en/02_Developer_Guides/08_Performance/07_DB_read_only_replicas.md
Outdated
Show resolved
Hide resolved
en/02_Developer_Guides/08_Performance/07_DB_read_only_replicas.md
Outdated
Show resolved
Hide resolved
en/02_Developer_Guides/08_Performance/07_DB_read_only_replicas.md
Outdated
Show resolved
Hide resolved
en/02_Developer_Guides/08_Performance/07_DB_read_only_replicas.md
Outdated
Show resolved
Hide resolved
45647f1
to
adb66c3
Compare
en/02_Developer_Guides/08_Performance/07_DB_read_only_replicas.md
Outdated
Show resolved
Hide resolved
en/02_Developer_Guides/08_Performance/07_Read_only_database_replicas.md
Outdated
Show resolved
Hide resolved
adb66c3
to
9930e9c
Compare
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.
- DOC DB read-only replicas #587 (comment) still needs to be done
- Added comment to DOC DB read-only replicas #587 (comment) (sorry, forgot to start review)
e98eeb8
to
b286048
Compare
c06669d
to
5ac7832
Compare
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.
LGTM, will merge after all code PRs.
en/08_Changelogs/6.0.0.md
Outdated
|
||
See [read-only database replicas](/developer_guides/performance/read_only_database_replicas/) for more details. | ||
|
||
Calling the methods [`DB::get_conn()`](api:SilverStripe\ORM\DB::get_conn()), [`DB::set_conn()`](api:SilverStripe\ORM\DB::set_conn()), [`DB::getConfig()`](api:SilverStripe\ORM\DB::getConfig()), and [`DB::setConfig()`](api:SilverStripe\ORM\DB::setConfig()) using the default `$name` parameter of "default" will now emit a deprecation notice and will be internall converted to "primary". Pass [`DB::CONN_PRIMARY`](api:SilverStripe\ORM\DB::CONN_PRIMARY) or simply "primary" for the `$name` parameter instead. The default value for `$name` will be changed to "primary" in a future major release. |
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.
No deprecation notice - looks like these docs may not have been updated to reflect that it's now CMS 6? Don't know how I missed that before.
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.
Updated, have changed to mention that "default" has changed to "primary"
5ac7832
to
5a76f07
Compare
Linting issue is unrelated |
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.
Seems good to me
Issue silverstripe/silverstripe-framework#11352