Skip to content

Commit 5041b71

Browse files
authored
Merge branch '8.0' into ps-9822
2 parents 02eae44 + 421782a commit 5041b71

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+833
-4365
lines changed

.github/workflows/linkspector.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Linkspector
2+
on:
3+
pull_request:
4+
paths:
5+
- "docs/**"
6+
7+
jobs:
8+
check-links:
9+
name: linkspector
10+
runs-on: ubuntu-22.04
11+
if: ${{ github.actor != 'dependabot[bot]' }}
12+
steps:
13+
- name: Check out code
14+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
15+
16+
- name: Run linkspector
17+
uses: umbrelladocs/action-linkspector@de84085e0f51452a470558693d7d308fbb2fa261 # v1.2.5
18+
with:
19+
github_token: ${{ secrets.ROBOT_TOKEN || secrets.GITHUB_TOKEN }}
20+
reporter: github-pr-review
21+
fail_level: error
22+
filter_mode: nofilter
23+
config_file: docs/.linkspector.yml

_resource/overrides/main.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
{% include "partials/nav.html" %}
3333
<br>
3434
<label class="md-nav__title" for="__drawer">
35-
<a href="https://learn.percona.com/download-manual-percona-server-for-mysql-8-0" onclick="_gaq.push(['b._trackEvent', 'Percona Server', 'Download', 'Download Manual Percona Server']);" class="md-nav__link md-nav__link--active" style="font-size: .7rem;">
35+
<a href="https://learn.percona.com/download-manual-percona-server-for-mysql-8.0" onclick="_gaq.push(['b._trackEvent', 'Percona Server', 'Download', 'Download Manual Percona Server']);" class="md-nav__link md-nav__link--active" style="font-size: .7rem;">
3636
Download PDF
3737
</a>
3838
</label>
@@ -60,3 +60,4 @@
6060
posthog.init('phc_7unoI9J6Fm0SMrfDp35xNOpCRTkOAibbffQwdGWbHnL',{api_host:'https://eu.posthog.com'})
6161
</script>
6262
{% endblock %}
63+

_resourcepdf/overrides/main.html

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,24 @@
55

66
{# Import the theme's layout. #}
77
{% extends "base.html" %}
8-
8+
{% block scripts %}
9+
<script src="https://cmp.osano.com/Azqe5vTyLOSbN3OuT/49ad85b5-0418-4794-ab81-7599dddd534c/osano.js"></script>
10+
{{ super() }}
11+
{% endblock %}
12+
13+
{% block extrahead %}
14+
{{ super() }}
15+
{% set title = config.site_name %}
16+
{% if page and page.meta and page.meta.title %}
17+
{% set title = title ~ " - " ~ page.meta.title %}
18+
{% elif page and page.title and not page.is_homepage %}
19+
{% set title = title ~ " - " ~ page.title %}
20+
{% endif %}
21+
<meta property="og:type" content="website" />
22+
<meta property="og:title" content="{{ title }}" />
23+
<meta property="og:url" content="https://docs.percona.com/percona-server/8.0/" />
24+
<meta property="og:image" content="https://docs.percona.com/percona-server/8.0/_static/percona-mysql-logo.png" />
25+
{% endblock %}
926

1027
{% block site_nav %}
1128
{% if nav %}
@@ -47,7 +64,8 @@
4764

4865
{{ super() }}
4966

50-
67+
{# The script to expand all collapsible admonitions in PDF #}
68+
5169
<script>
5270
window.addEventListener('beforeprint', (event) => {
5371
for (const detailEl of document.querySelectorAll('details')) {
@@ -66,5 +84,10 @@
6684
}
6785
})
6886
</script>
87+
88+
<script>
89+
!function(t,e){var o,n,p,r;e.__SV||(window.posthog=e,e._i=[],e.init=function(i,s,a){function g(t,e){var o=e.split(".");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}(p=t.createElement("script")).type="text/javascript",p.async=!0,p.src=s.api_host+"/static/array.js",(r=t.getElementsByTagName("script")[0]).parentNode.insertBefore(p,r);var u=e;for(void 0!==a?u=e[a]=[]:a="posthog",u.people=u.people||[],u.toString=function(t){var e="posthog";return"posthog"!==a&&(e+="."+a),t||(e+=" (stub)"),e},u.people.toString=function(){return u.toString(1)+".people (stub)"},o="capture identify alias people.set people.set_once set_config register register_once unregister opt_out_capturing has_opted_out_capturing opt_in_capturing reset isFeatureEnabled onFeatureFlags getFeatureFlag getFeatureFlagPayload reloadFeatureFlags group updateEarlyAccessFeatureEnrollment getEarlyAccessFeatures getActiveMatchingSurveys getSurveys onSessionId".split(" "),n=0;n<o.length;n++)g(u,o[n]);e._i.push([i,s,a])},e.__SV=1)}(document,window.posthog||[]);
90+
posthog.init('phc_7unoI9J6Fm0SMrfDp35xNOpCRTkOAibbffQwdGWbHnL',{api_host:'https://eu.posthog.com'})
91+
</script>
6992
{% endblock %}
7093

docs/.linkspector.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
dirs:
2+
- docs
3+
4+
ignorePatterns:
5+
- pattern: "^https://www.reddit.com/r/VictoriaMetrics/"
6+
- pattern: "^https://linux.die.net/man/8/logrotate"
7+
- pattern: "#os_alerts$"
8+
- pattern: "#pmm_alerts$"
9+
- pattern: "#mongodb_alerts$"
10+
- pattern: "#pbm_alerts$"
11+
- pattern: "#mysql_alerts$"
12+
- pattern: "#postgresql_alerts$"
13+
- pattern: "#proxysql_alerts$"

docs/_static/thread-pool-diagram.png

782 KB
Loading

docs/audit-log-filter-variables.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,8 @@ This function returns either an `OK` for success or an error message for failure
284284
#### Example
285285

286286
```{.bash data-prompt="mysql>"}
287-
mysql> SET @filter = '{ "filter_name": { "log": true }}'
288-
mysql> SET audit_log_filter_set_filter('filter-name', @filter);
287+
mysql> SET @filter = '{ "filter": { "log": true }}'
288+
mysql> SELECT audit_log_filter_set_filter('filter-name', @filter);
289289
```
290290

291291
??? example "Expected output"
@@ -613,7 +613,7 @@ The default value is 0 (zero). This value disables the expiration of passwords.
613613

614614
If the plugin starts and encryption is enabled, the plugin checks for an audit log filter encryption password. If a password is not found, the plugin generates a random password.
615615

616-
Call `audit_log_filter_encryption_set() to set a specific password.
616+
Call [audit_log_encryption_password_set(new_password)](#audit_log_encryption_password_setnew_password) to set a specific password.
617617

618618

619619
### `audit_log_filter_prune_seconds`
@@ -710,7 +710,7 @@ Defines the Audit Log filter plugin's logging method. The valid values are the f
710710
| Data type | String |
711711
| Default | LOG_USER |
712712

713-
Specifies the syslog `facility` value. The option has the same meaning as the appropriate parameter described in the [syslog(3) manual](https://linux.die.net/man/3/syslog).
713+
Specifies the syslog `facility` value. The option has the same meaning as the appropriate parameter described in the [syslog(3) manual](https://man7.org/linux/man-pages/man3/syslog.3.html).
714714

715715

716716
### `audit_log_filter_syslog_priority`
@@ -723,7 +723,7 @@ Specifies the syslog `facility` value. The option has the same meaning as the ap
723723
| Data type | String |
724724
| Default | LOG_INFO |
725725

726-
Defines the `priority` value for the syslog. The option has the same meaning as the appropriate parameter described in the [syslog(3) manual](https://linux.die.net/man/3/syslog).
726+
Defines the `priority` value for the syslog. The option has the same meaning as the appropriate parameter described in the [syslog(3) manual](https://man7.org/linux/man-pages/man3/syslog.3.html).
727727

728728

729729

docs/audit-log-plugin.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ The audit Log plugin generates a log of following events.
283283

284284
## Stream the audit log to syslog
285285

286-
To stream the audit log to syslog you’ll need to set audit_log_handler variable to `SYSLOG`. To control the syslog file handler, the following variables can be used: audit_log_syslog_ident, audit_log_syslog_facility, and audit_log_syslog_priority These variables have the same meaning as appropriate parameters described in the [syslog(3) manual](https://linux.die.net/man/3/syslog).
286+
To stream the audit log to syslog you’ll need to set audit_log_handler variable to `SYSLOG`. To control the syslog file handler, the following variables can be used: audit_log_syslog_ident, audit_log_syslog_facility, and audit_log_syslog_priority These variables have the same meaning as appropriate parameters described in the [syslog(3) manual](https://man7.org/linux/man-pages/man3/syslog.3.html).
287287

288288
!!! note
289289

@@ -879,7 +879,7 @@ will be written to syslog.
879879

880880
This variable is used to specify the `ident` value for syslog. This variable
881881
has the same meaning as the appropriate parameter described in the [syslog(3)
882-
manual](http://linux.die.net/man/3/syslog).
882+
manual](https://man7.org/linux/man-pages/man3/syslog.3.html).
883883

884884
### `audit_log_syslog_facility`
885885

@@ -893,7 +893,7 @@ manual](http://linux.die.net/man/3/syslog).
893893

894894
This variable is used to specify the `facility` value for syslog. This
895895
variable has the same meaning as the appropriate parameter described in the
896-
[syslog(3) manual](https://linux.die.net/man/3/syslog).
896+
[syslog(3) manual](https://man7.org/linux/man-pages/man3/syslog.3.html).
897897

898898
### `audit_log_syslog_priority`
899899

@@ -907,7 +907,7 @@ variable has the same meaning as the appropriate parameter described in the
907907

908908
This variable is used to specify the `priority` value for syslog. This
909909
variable has the same meaning as the appropriate parameter described in the
910-
[syslog(3) manual](https://linux.die.net/man/3/syslog).
910+
[syslog(3) manual](https://man7.org/linux/man-pages/man3/syslog.3.html).
911911

912912
## Status Variables
913913

docs/data-loading.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ need to truncate the table and loading data again.
121121

122122
!!! warning
123123

124-
If you are loading large data without enabling [rocksdb_bulk_load](variables.md#rocksdb_bulk_load) or [rocksdb_commit_in_the_middle](variables.md#rocksdb-commit-in-the-middle), please make sure transaction size is small enough. All modifications of the ongoing transactions are kept in memory.
124+
If you are loading large data without enabling [rocksdb_bulk_load](variables.md#rocksdb_bulk_load) or [rocksdb_commit_in_the_middle](variables.md#rocksdb_commit_in_the_middle), please make sure transaction size is small enough. All modifications of the ongoing transactions are kept in memory.
125125

126126
## Other reading
127127

docs/data-masking-function-list.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -963,7 +963,7 @@ mysql> SELECT masking_dictionary_term_remove('trees','pine');
963963
| **Name** | **Details** |
964964
|---------------------------------------------------|-------------------------------------------------------|
965965
| [`dictionaries_flush_interval_seconds (integer, unsigned)`](#dictionaries_flush_interval_secondsinteger-unsigned) | The number of seconds between updates to the internal dictionary cache to match changes in the dictionaries table.|
966-
| [`masking_database(str)`](#masking_databasestr) | Set a different database name to use for the dictionaries table. |
966+
| [`masking_database(string)`](#masking_databasestring) | Set a different database name to use for the dictionaries table. |
967967

968968
### dictionaries_flush_interval_seconds(integer, unsigned)
969969

docs/data-masking-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ To fix this, you can use the new [`masking_dictionaries_flush()`](data-masking-f
3939

4040
The changes also affect how row-based replication works. When dictionary changes happen on the source server, they travel through the binary log to the replica server. While the replica applies these changes to its table correctly, the dictionary term cache doesn't update right away.
4141

42-
To handle this, there's a new system setting called [`component_masking_functions.dictionaries_flush_interval_seconds()`](data-masking-function-list.html#dictionaries_flush_interval_secondsinteger-unsigned)
42+
To handle this, there's a new system setting called [`component_masking_functions.dictionaries_flush_interval_seconds()`](data-masking-function-list.md#dictionaries_flush_interval_secondsinteger-unsigned)
4343

4444
By default, it's set to 0. When you set it higher, the system starts a background process that refreshes the cache at your specified interval. This helps replicas stay in sync after receiving binary log updates. The value specifies the number of seconds between each sync.
4545

0 commit comments

Comments
 (0)