Skip to content

Commit 4fb4162

Browse files
authored
Merge pull request #454 from percona/9652
PS-9652 [DOCS] - audit_log_filter plugin to component migration 8.4
2 parents c07baac + 4160cda commit 4fb4162

File tree

2 files changed

+50
-20
lines changed

2 files changed

+50
-20
lines changed

docs/upgrade-components.md

+41-11
Original file line numberDiff line numberDiff line change
@@ -2,41 +2,71 @@
22

33
The following plugins have changed:
44

5+
<style>
6+
table {
7+
table-layout: fixed; /* Ensures the table width fits within the page */
8+
width: 100%; /* Sets the table to take up the full page width */
9+
border-collapse: collapse;
10+
}
11+
12+
th, td {
13+
border: 1px solid #ddd; /* Optional: Add a border for better visibility */
14+
padding: 8px; /* Optional: Add padding for readability */
15+
}
16+
17+
th:first-child, td:first-child {
18+
width: 1%; /* Makes the first column fit the content */
19+
white-space: nowrap; /* Prevents wrapping in the first column */
20+
}
21+
22+
th:nth-child(3), td:nth-child(3) {
23+
width: 1%; /* Makes the third column fit the content */
24+
white-space: nowrap; /* Prevents wrapping in the third column */
25+
}
26+
</style>
27+
28+
529
| Plugin | 8.0 information | {{vers}} changes | Notes |
630
|---|---|---|---|
731
| `keyring_vault` | Only available as a plugin | `component_keyring_vault` | A manual upgrade path is required. For example, the plugin configuration file, specified by the `keyring_vault_config` system variable, must be transformed to a JSON format for the `component_keyring_vault.cnf`. |
832
| `audit_log` | Only available as a plugin | removed | Recommended that you use the `component_audit_log_filter`. |
9-
| `audit_log_filter` | Only available as a plugin | `component_audit_log_filter` | Migrate the plugin to the component in 8.0 before the upgrade to {{vers}}. |
10-
| `data_masking` | Available as a plugin and component | `component_masking_functions` | Migrate the plugin to the component in 8.0 before the upgrade to {{vers}} |
33+
| `audit_log_filter` | Only available as a plugin | `component_audit_log_filter` | Transition the plugin to the component after the upgrade to {{vers}}. |
34+
| `data_masking` | Available as a plugin and component | `component_masking_functions` | Transition the plugin to the component in 8.0 before the upgrade to {{vers}} |
1135
| `binlog_utils_udf` user defined functions | Only available as plugin. Users must install the plugin and then run `CREATE FUNCTION ... SONAME...` | `component_binlog_utils_udf` | Run `INSTALL COMPONENT` and all functions are registered automatically. |
1236
| `percona-udf` user defined functions | Must create individual functions with `CREATE FUNCTION ... SONAME ...`. | `component_percona_udf` | Run `INSTALL COMPONENT` and all functions are registered automatically. Can still use `CREATE FUNCTION ... SONAME ...` if needed. |
1337

1438
We recommend if you use a plugin and the feature also available a component, switch to the component in 8.0 series before upgrading to {{vers}}.
1539

16-
## Transition from a plugin to a component
40+
## Transition a plugin to a component
41+
42+
The operation to transition from a plugin to a component can be complicated. Always test the migration in a staging environment before applying the changes to the production servers. To ensure there is minimal interruption, the key preparation steps are the following:
43+
44+
* Plan for downtime
45+
46+
* Create a comprehensive testing strategy
1747

18-
The operation to transition from a plugin to a component can be complicated. You should plan for downtime while you plan and test each step in the procedure.
48+
* Verify that the existing functionality transfers correctly
1949

2050
Before you start, review the differences between the plugin and the component. A plugin configuration has plugin-specific system variables and uses the `--early-plugin-load` option. A component has a configuration file and loads using a manifest.
2151

2252
1. Setup the component's configuration file.
2353

24-
2. Use the manifest to load the component.
54+
2. Load the component using the manifest.
2555

26-
3. Confirm that the component works. Run queries or other operations and test the component in your environment.
56+
3. Confirm that the component works. Run queries or other operations and test the component thoroughtly in your test environment.
2757

28-
4. After confirmation, remove the plugin.
58+
4. After confirmation, remove the original plugin.
2959

3060
Some plugins may require more configuration and setup during the transition to a component. For those plugins, you may have the following scenario:
3161

3262
1. Test the plugin in 8.0.
3363

3464
2. Stop the service
3565

36-
3. Upgrade the packages to {{vers}}
66+
3. Upgrade to {{vers}}
3767

38-
4. Review and edit configurations, as needed
68+
4. Review and adjust the configurations, as needed
3969

40-
5. Start {{vers}}
70+
5. Start the new {{vers}}
4171

42-
6. Test the component in {{vers}}
72+
6. Confirm the component in {{vers}}

mkdocs-base.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -221,15 +221,15 @@ nav:
221221
- Install Percona Server for MySQL Pro:
222222
- install-pro.md
223223
- pro-files.md
224-
- Upgrade:
225-
- upgrade.md
226-
- upgrade-strategies.md
227-
- upgrade-components.md
228-
- upgrade-percona-repos.md
229-
- upgrade-standalone-packages.md
230-
- upgrade-pro.md
231-
- downgrade.md
232-
- downgrade-from-pro.md
224+
- Upgrade:
225+
- upgrade.md
226+
- upgrade-strategies.md
227+
- upgrade-components.md
228+
- upgrade-percona-repos.md
229+
- upgrade-standalone-packages.md
230+
- upgrade-pro.md
231+
- downgrade.md
232+
- downgrade-from-pro.md
233233
- Post-Installation:
234234
- binlogging-replication-improvements.md
235235
- post-installation.md

0 commit comments

Comments
 (0)