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

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor #5032

Merged
merged 3 commits into from
May 22, 2023

Conversation

dutow
Copy link
Contributor

@dutow dutow commented Mar 29, 2023

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_list' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault",
"group_replication"

@dutow dutow requested a review from satya-bodapati March 29, 2023 10:06
plugin/clone/src/clone_plugin.cc Outdated Show resolved Hide resolved
@satya-bodapati
Copy link
Contributor

@dutow Can u please get Jenkins run?

@dutow dutow requested a review from satya-bodapati May 9, 2023 09:23
@satya-bodapati
Copy link
Contributor

@dutow LGTM! Please ensure clean Jenkins before merge.

satya-bodapati and others added 3 commits May 21, 2023 16:20
…pient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault",
"group_replication"
@dutow dutow changed the base branch from 8.0 to release-8.0.33-25 May 22, 2023 12:01
@dutow dutow merged commit 7ae09fd into percona:release-8.0.33-25 May 22, 2023
inikep pushed a commit to inikep/percona-server that referenced this pull request Jun 27, 2023
…pient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>
inikep pushed a commit to inikep/percona-server that referenced this pull request Jun 29, 2023
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>
inikep pushed a commit to inikep/percona-server that referenced this pull request Jul 18, 2023
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>
inikep pushed a commit to inikep/percona-server that referenced this pull request Jul 19, 2023
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>
inikep pushed a commit to inikep/percona-server that referenced this pull request Jul 19, 2023
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>
inikep pushed a commit to inikep/percona-server that referenced this pull request Jul 21, 2023
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>
inikep pushed a commit to inikep/percona-server that referenced this pull request Jul 24, 2023
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>
inikep pushed a commit to inikep/percona-server that referenced this pull request Jul 26, 2023
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>
inikep pushed a commit to inikep/percona-server that referenced this pull request Jul 26, 2023
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>
inikep pushed a commit to inikep/percona-server that referenced this pull request Jul 27, 2023
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>
inikep pushed a commit to inikep/percona-server that referenced this pull request Jul 29, 2023
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>
inikep pushed a commit to inikep/percona-server that referenced this pull request Aug 1, 2023
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>
inikep pushed a commit to inikep/percona-server that referenced this pull request Aug 7, 2023
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>
inikep pushed a commit to inikep/percona-server that referenced this pull request Aug 8, 2023
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>
inikep pushed a commit to inikep/percona-server that referenced this pull request Aug 14, 2023
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>
inikep pushed a commit to inikep/percona-server that referenced this pull request Aug 16, 2023
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>
VarunNagaraju pushed a commit to VarunNagaraju/percona-server that referenced this pull request Jun 12, 2024
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>

---------------------------------------------------------------------------------------

PS-8844: Fix the failing clone.plugin_mismatch

https://jira.percona.com/browse/PS-8844

The test clone.plugin_mismatch fails when run from installed
directories due to the different path of the plugin directory used by
the test.

Failure:
        CURRENT_TEST: clone.plugin_mismatch
        mysqltest: At line 28: Command "remove_file" failed with error 1. my_errno=2.

The test involves simulating the secnario of missing plugins on
recipient server. To do the same, the test earlier used to copy all
plugins to recipient server's plugin_dir and delete some plugins to test
the clone plugin's behavior when recipeint had some plugins missing.

During the test investigation, it was found that it is just sufficient
to have only the clone plugin copied to the recipient server so that it
simulates the missing plugins.

This patch makes the the test independent of plugin paths so it works on
both build and installed directories.
dlenev pushed a commit to dlenev/percona-server that referenced this pull request Jul 25, 2024
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>

--------------------------------------------------------------------------

PS-8844: Fix the failing clone.plugin_mismatch

https://jira.percona.com/browse/PS-8844

The test clone.plugin_mismatch fails when run from installed
directories due to the different path of the plugin directory used by
the test.

Failure:
        CURRENT_TEST: clone.plugin_mismatch
        mysqltest: At line 28: Command "remove_file" failed with error 1. my_errno=2.

The test involves simulating the secnario of missing plugins on
recipient server. To do the same, the test earlier used to copy all
plugins to recipient server's plugin_dir and delete some plugins to test
the clone plugin's behavior when recipeint had some plugins missing.

During the test investigation, it was found that it is just sufficient
to have only the clone plugin copied to the recipient server so that it
simulates the missing plugins.

This patch makes the the test independent of plugin paths so it works on
both build and installed directories.
dlenev pushed a commit to dlenev/percona-server that referenced this pull request Jul 30, 2024
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>

--------------------------------------------------------------------------

PS-8844: Fix the failing clone.plugin_mismatch

https://jira.percona.com/browse/PS-8844

The test clone.plugin_mismatch fails when run from installed
directories due to the different path of the plugin directory used by
the test.

Failure:
        CURRENT_TEST: clone.plugin_mismatch
        mysqltest: At line 28: Command "remove_file" failed with error 1. my_errno=2.

The test involves simulating the secnario of missing plugins on
recipient server. To do the same, the test earlier used to copy all
plugins to recipient server's plugin_dir and delete some plugins to test
the clone plugin's behavior when recipeint had some plugins missing.

During the test investigation, it was found that it is just sufficient
to have only the clone plugin copied to the recipient server so that it
simulates the missing plugins.

This patch makes the the test independent of plugin paths so it works on
both build and installed directories.
dlenev pushed a commit to dlenev/percona-server that referenced this pull request Jul 30, 2024
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>

--------------------------------------------------------------------------

PS-8844: Fix the failing clone.plugin_mismatch

https://jira.percona.com/browse/PS-8844

The test clone.plugin_mismatch fails when run from installed
directories due to the different path of the plugin directory used by
the test.

Failure:
        CURRENT_TEST: clone.plugin_mismatch
        mysqltest: At line 28: Command "remove_file" failed with error 1. my_errno=2.

The test involves simulating the secnario of missing plugins on
recipient server. To do the same, the test earlier used to copy all
plugins to recipient server's plugin_dir and delete some plugins to test
the clone plugin's behavior when recipeint had some plugins missing.

During the test investigation, it was found that it is just sufficient
to have only the clone plugin copied to the recipient server so that it
simulates the missing plugins.

This patch makes the the test independent of plugin paths so it works on
both build and installed directories.
dlenev pushed a commit to dlenev/percona-server that referenced this pull request Aug 21, 2024
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>

--------------------------------------------------------------------------

PS-8844: Fix the failing clone.plugin_mismatch

https://jira.percona.com/browse/PS-8844

The test clone.plugin_mismatch fails when run from installed
directories due to the different path of the plugin directory used by
the test.

Failure:
        CURRENT_TEST: clone.plugin_mismatch
        mysqltest: At line 28: Command "remove_file" failed with error 1. my_errno=2.

The test involves simulating the secnario of missing plugins on
recipient server. To do the same, the test earlier used to copy all
plugins to recipient server's plugin_dir and delete some plugins to test
the clone plugin's behavior when recipeint had some plugins missing.

During the test investigation, it was found that it is just sufficient
to have only the clone plugin copied to the recipient server so that it
simulates the missing plugins.

This patch makes the the test independent of plugin paths so it works on
both build and installed directories.
dlenev pushed a commit to dlenev/percona-server that referenced this pull request Aug 28, 2024
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>

--------------------------------------------------------------------------

PS-8844: Fix the failing clone.plugin_mismatch

https://jira.percona.com/browse/PS-8844

The test clone.plugin_mismatch fails when run from installed
directories due to the different path of the plugin directory used by
the test.

Failure:
        CURRENT_TEST: clone.plugin_mismatch
        mysqltest: At line 28: Command "remove_file" failed with error 1. my_errno=2.

The test involves simulating the secnario of missing plugins on
recipient server. To do the same, the test earlier used to copy all
plugins to recipient server's plugin_dir and delete some plugins to test
the clone plugin's behavior when recipeint had some plugins missing.

During the test investigation, it was found that it is just sufficient
to have only the clone plugin copied to the recipient server so that it
simulates the missing plugins.

This patch makes the the test independent of plugin paths so it works on
both build and installed directories.
dlenev pushed a commit to dlenev/percona-server that referenced this pull request Aug 30, 2024
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>

--------------------------------------------------------------------------

PS-8844: Fix the failing clone.plugin_mismatch

https://jira.percona.com/browse/PS-8844

The test clone.plugin_mismatch fails when run from installed
directories due to the different path of the plugin directory used by
the test.

Failure:
        CURRENT_TEST: clone.plugin_mismatch
        mysqltest: At line 28: Command "remove_file" failed with error 1. my_errno=2.

The test involves simulating the secnario of missing plugins on
recipient server. To do the same, the test earlier used to copy all
plugins to recipient server's plugin_dir and delete some plugins to test
the clone plugin's behavior when recipeint had some plugins missing.

During the test investigation, it was found that it is just sufficient
to have only the clone plugin copied to the recipient server so that it
simulates the missing plugins.

This patch makes the the test independent of plugin paths so it works on
both build and installed directories.
inikep pushed a commit to inikep/percona-server that referenced this pull request Sep 11, 2024
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>

--------------------------------------------------------------------------

PS-8844: Fix the failing clone.plugin_mismatch

https://jira.percona.com/browse/PS-8844

The test clone.plugin_mismatch fails when run from installed
directories due to the different path of the plugin directory used by
the test.

Failure:
        CURRENT_TEST: clone.plugin_mismatch
        mysqltest: At line 28: Command "remove_file" failed with error 1. my_errno=2.

The test involves simulating the secnario of missing plugins on
recipient server. To do the same, the test earlier used to copy all
plugins to recipient server's plugin_dir and delete some plugins to test
the clone plugin's behavior when recipeint had some plugins missing.

During the test investigation, it was found that it is just sufficient
to have only the clone plugin copied to the recipient server so that it
simulates the missing plugins.

This patch makes the the test independent of plugin paths so it works on
both build and installed directories.
inikep pushed a commit to inikep/percona-server that referenced this pull request Sep 12, 2024
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>

--------------------------------------------------------------------------

PS-8844: Fix the failing clone.plugin_mismatch

https://jira.percona.com/browse/PS-8844

The test clone.plugin_mismatch fails when run from installed
directories due to the different path of the plugin directory used by
the test.

Failure:
        CURRENT_TEST: clone.plugin_mismatch
        mysqltest: At line 28: Command "remove_file" failed with error 1. my_errno=2.

The test involves simulating the secnario of missing plugins on
recipient server. To do the same, the test earlier used to copy all
plugins to recipient server's plugin_dir and delete some plugins to test
the clone plugin's behavior when recipeint had some plugins missing.

During the test investigation, it was found that it is just sufficient
to have only the clone plugin copied to the recipient server so that it
simulates the missing plugins.

This patch makes the the test independent of plugin paths so it works on
both build and installed directories.
inikep pushed a commit to inikep/percona-server that referenced this pull request Sep 17, 2024
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>

--------------------------------------------------------------------------

PS-8844: Fix the failing clone.plugin_mismatch

https://jira.percona.com/browse/PS-8844

The test clone.plugin_mismatch fails when run from installed
directories due to the different path of the plugin directory used by
the test.

Failure:
        CURRENT_TEST: clone.plugin_mismatch
        mysqltest: At line 28: Command "remove_file" failed with error 1. my_errno=2.

The test involves simulating the secnario of missing plugins on
recipient server. To do the same, the test earlier used to copy all
plugins to recipient server's plugin_dir and delete some plugins to test
the clone plugin's behavior when recipeint had some plugins missing.

During the test investigation, it was found that it is just sufficient
to have only the clone plugin copied to the recipient server so that it
simulates the missing plugins.

This patch makes the the test independent of plugin paths so it works on
both build and installed directories.
inikep pushed a commit that referenced this pull request Sep 23, 2024
…o match on recipient/donor (#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>

--------------------------------------------------------------------------

PS-8844: Fix the failing clone.plugin_mismatch

https://jira.percona.com/browse/PS-8844

The test clone.plugin_mismatch fails when run from installed
directories due to the different path of the plugin directory used by
the test.

Failure:
        CURRENT_TEST: clone.plugin_mismatch
        mysqltest: At line 28: Command "remove_file" failed with error 1. my_errno=2.

The test involves simulating the secnario of missing plugins on
recipient server. To do the same, the test earlier used to copy all
plugins to recipient server's plugin_dir and delete some plugins to test
the clone plugin's behavior when recipeint had some plugins missing.

During the test investigation, it was found that it is just sufficient
to have only the clone plugin copied to the recipient server so that it
simulates the missing plugins.

This patch makes the the test independent of plugin paths so it works on
both build and installed directories.
inikep pushed a commit that referenced this pull request Sep 25, 2024
…o match on recipient/donor (#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>

---------------------------------------------------------------------------------------

PS-8844: Fix the failing clone.plugin_mismatch

https://jira.percona.com/browse/PS-8844

The test clone.plugin_mismatch fails when run from installed
directories due to the different path of the plugin directory used by
the test.

Failure:
        CURRENT_TEST: clone.plugin_mismatch
        mysqltest: At line 28: Command "remove_file" failed with error 1. my_errno=2.

The test involves simulating the secnario of missing plugins on
recipient server. To do the same, the test earlier used to copy all
plugins to recipient server's plugin_dir and delete some plugins to test
the clone plugin's behavior when recipeint had some plugins missing.

During the test investigation, it was found that it is just sufficient
to have only the clone plugin copied to the recipient server so that it
simulates the missing plugins.

This patch makes the the test independent of plugin paths so it works on
both build and installed directories.
inikep pushed a commit to inikep/percona-server that referenced this pull request Sep 25, 2024
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>

---------------------------------------------------------------------------------------

PS-8844: Fix the failing clone.plugin_mismatch

https://jira.percona.com/browse/PS-8844

The test clone.plugin_mismatch fails when run from installed
directories due to the different path of the plugin directory used by
the test.

Failure:
        CURRENT_TEST: clone.plugin_mismatch
        mysqltest: At line 28: Command "remove_file" failed with error 1. my_errno=2.

The test involves simulating the secnario of missing plugins on
recipient server. To do the same, the test earlier used to copy all
plugins to recipient server's plugin_dir and delete some plugins to test
the clone plugin's behavior when recipeint had some plugins missing.

During the test investigation, it was found that it is just sufficient
to have only the clone plugin copied to the recipient server so that it
simulates the missing plugins.

This patch makes the the test independent of plugin paths so it works on
both build and installed directories.
dlenev pushed a commit to dlenev/percona-server that referenced this pull request Oct 1, 2024
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>

--------------------------------------------------------------------------

PS-8844: Fix the failing clone.plugin_mismatch

https://jira.percona.com/browse/PS-8844

The test clone.plugin_mismatch fails when run from installed
directories due to the different path of the plugin directory used by
the test.

Failure:
        CURRENT_TEST: clone.plugin_mismatch
        mysqltest: At line 28: Command "remove_file" failed with error 1. my_errno=2.

The test involves simulating the secnario of missing plugins on
recipient server. To do the same, the test earlier used to copy all
plugins to recipient server's plugin_dir and delete some plugins to test
the clone plugin's behavior when recipeint had some plugins missing.

During the test investigation, it was found that it is just sufficient
to have only the clone plugin copied to the recipient server so that it
simulates the missing plugins.

This patch makes the the test independent of plugin paths so it works on
both build and installed directories.
dlenev pushed a commit to dlenev/percona-server that referenced this pull request Oct 17, 2024
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>

--------------------------------------------------------------------------

PS-8844: Fix the failing clone.plugin_mismatch

https://jira.percona.com/browse/PS-8844

The test clone.plugin_mismatch fails when run from installed
directories due to the different path of the plugin directory used by
the test.

Failure:
        CURRENT_TEST: clone.plugin_mismatch
        mysqltest: At line 28: Command "remove_file" failed with error 1. my_errno=2.

The test involves simulating the secnario of missing plugins on
recipient server. To do the same, the test earlier used to copy all
plugins to recipient server's plugin_dir and delete some plugins to test
the clone plugin's behavior when recipeint had some plugins missing.

During the test investigation, it was found that it is just sufficient
to have only the clone plugin copied to the recipient server so that it
simulates the missing plugins.

This patch makes the the test independent of plugin paths so it works on
both build and installed directories.
dlenev pushed a commit to dlenev/percona-server that referenced this pull request Oct 17, 2024
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>

--------------------------------------------------------------------------

PS-8844: Fix the failing clone.plugin_mismatch

https://jira.percona.com/browse/PS-8844

The test clone.plugin_mismatch fails when run from installed
directories due to the different path of the plugin directory used by
the test.

Failure:
        CURRENT_TEST: clone.plugin_mismatch
        mysqltest: At line 28: Command "remove_file" failed with error 1. my_errno=2.

The test involves simulating the secnario of missing plugins on
recipient server. To do the same, the test earlier used to copy all
plugins to recipient server's plugin_dir and delete some plugins to test
the clone plugin's behavior when recipeint had some plugins missing.

During the test investigation, it was found that it is just sufficient
to have only the clone plugin copied to the recipient server so that it
simulates the missing plugins.

This patch makes the the test independent of plugin paths so it works on
both build and installed directories.
dlenev pushed a commit to dlenev/percona-server that referenced this pull request Oct 22, 2024
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>

--------------------------------------------------------------------------

PS-8844: Fix the failing clone.plugin_mismatch

https://jira.percona.com/browse/PS-8844

The test clone.plugin_mismatch fails when run from installed
directories due to the different path of the plugin directory used by
the test.

Failure:
        CURRENT_TEST: clone.plugin_mismatch
        mysqltest: At line 28: Command "remove_file" failed with error 1. my_errno=2.

The test involves simulating the secnario of missing plugins on
recipient server. To do the same, the test earlier used to copy all
plugins to recipient server's plugin_dir and delete some plugins to test
the clone plugin's behavior when recipeint had some plugins missing.

During the test investigation, it was found that it is just sufficient
to have only the clone plugin copied to the recipient server so that it
simulates the missing plugins.

This patch makes the the test independent of plugin paths so it works on
both build and installed directories.
inikep pushed a commit to inikep/percona-server that referenced this pull request Oct 28, 2024
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>

---------------------------------------------------------------------------------------

PS-8844: Fix the failing clone.plugin_mismatch

https://jira.percona.com/browse/PS-8844

The test clone.plugin_mismatch fails when run from installed
directories due to the different path of the plugin directory used by
the test.

Failure:
        CURRENT_TEST: clone.plugin_mismatch
        mysqltest: At line 28: Command "remove_file" failed with error 1. my_errno=2.

The test involves simulating the secnario of missing plugins on
recipient server. To do the same, the test earlier used to copy all
plugins to recipient server's plugin_dir and delete some plugins to test
the clone plugin's behavior when recipeint had some plugins missing.

During the test investigation, it was found that it is just sufficient
to have only the clone plugin copied to the recipient server so that it
simulates the missing plugins.

This patch makes the the test independent of plugin paths so it works on
both build and installed directories.
inikep pushed a commit that referenced this pull request Oct 30, 2024
…o match on recipient/donor (#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>

---------------------------------------------------------------------------------------

PS-8844: Fix the failing clone.plugin_mismatch

https://jira.percona.com/browse/PS-8844

The test clone.plugin_mismatch fails when run from installed
directories due to the different path of the plugin directory used by
the test.

Failure:
        CURRENT_TEST: clone.plugin_mismatch
        mysqltest: At line 28: Command "remove_file" failed with error 1. my_errno=2.

The test involves simulating the secnario of missing plugins on
recipient server. To do the same, the test earlier used to copy all
plugins to recipient server's plugin_dir and delete some plugins to test
the clone plugin's behavior when recipeint had some plugins missing.

During the test investigation, it was found that it is just sufficient
to have only the clone plugin copied to the recipient server so that it
simulates the missing plugins.

This patch makes the the test independent of plugin paths so it works on
both build and installed directories.
inikep pushed a commit to inikep/percona-server that referenced this pull request Nov 11, 2024
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>

--------------------------------------------------------------------------

PS-8844: Fix the failing clone.plugin_mismatch

https://jira.percona.com/browse/PS-8844

The test clone.plugin_mismatch fails when run from installed
directories due to the different path of the plugin directory used by
the test.

Failure:
        CURRENT_TEST: clone.plugin_mismatch
        mysqltest: At line 28: Command "remove_file" failed with error 1. my_errno=2.

The test involves simulating the secnario of missing plugins on
recipient server. To do the same, the test earlier used to copy all
plugins to recipient server's plugin_dir and delete some plugins to test
the clone plugin's behavior when recipeint had some plugins missing.

During the test investigation, it was found that it is just sufficient
to have only the clone plugin copied to the recipient server so that it
simulates the missing plugins.

This patch makes the the test independent of plugin paths so it works on
both build and installed directories.
inikep pushed a commit to inikep/percona-server that referenced this pull request Nov 14, 2024
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>

--------------------------------------------------------------------------

PS-8844: Fix the failing clone.plugin_mismatch

https://jira.percona.com/browse/PS-8844

The test clone.plugin_mismatch fails when run from installed
directories due to the different path of the plugin directory used by
the test.

Failure:
        CURRENT_TEST: clone.plugin_mismatch
        mysqltest: At line 28: Command "remove_file" failed with error 1. my_errno=2.

The test involves simulating the secnario of missing plugins on
recipient server. To do the same, the test earlier used to copy all
plugins to recipient server's plugin_dir and delete some plugins to test
the clone plugin's behavior when recipeint had some plugins missing.

During the test investigation, it was found that it is just sufficient
to have only the clone plugin copied to the recipient server so that it
simulates the missing plugins.

This patch makes the the test independent of plugin paths so it works on
both build and installed directories.
inikep pushed a commit to inikep/percona-server that referenced this pull request Nov 14, 2024
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>

--------------------------------------------------------------------------

PS-8844: Fix the failing clone.plugin_mismatch

https://jira.percona.com/browse/PS-8844

The test clone.plugin_mismatch fails when run from installed
directories due to the different path of the plugin directory used by
the test.

Failure:
        CURRENT_TEST: clone.plugin_mismatch
        mysqltest: At line 28: Command "remove_file" failed with error 1. my_errno=2.

The test involves simulating the secnario of missing plugins on
recipient server. To do the same, the test earlier used to copy all
plugins to recipient server's plugin_dir and delete some plugins to test
the clone plugin's behavior when recipeint had some plugins missing.

During the test investigation, it was found that it is just sufficient
to have only the clone plugin copied to the recipient server so that it
simulates the missing plugins.

This patch makes the the test independent of plugin paths so it works on
both build and installed directories.
inikep pushed a commit to inikep/percona-server that referenced this pull request Nov 18, 2024
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>

--------------------------------------------------------------------------

PS-8844: Fix the failing clone.plugin_mismatch

https://jira.percona.com/browse/PS-8844

The test clone.plugin_mismatch fails when run from installed
directories due to the different path of the plugin directory used by
the test.

Failure:
        CURRENT_TEST: clone.plugin_mismatch
        mysqltest: At line 28: Command "remove_file" failed with error 1. my_errno=2.

The test involves simulating the secnario of missing plugins on
recipient server. To do the same, the test earlier used to copy all
plugins to recipient server's plugin_dir and delete some plugins to test
the clone plugin's behavior when recipeint had some plugins missing.

During the test investigation, it was found that it is just sufficient
to have only the clone plugin copied to the recipient server so that it
simulates the missing plugins.

This patch makes the the test independent of plugin paths so it works on
both build and installed directories.
inikep pushed a commit to inikep/percona-server that referenced this pull request Jan 23, 2025
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>

--------------------------------------------------------------------------

PS-8844: Fix the failing clone.plugin_mismatch

https://jira.percona.com/browse/PS-8844

The test clone.plugin_mismatch fails when run from installed
directories due to the different path of the plugin directory used by
the test.

Failure:
        CURRENT_TEST: clone.plugin_mismatch
        mysqltest: At line 28: Command "remove_file" failed with error 1. my_errno=2.

The test involves simulating the secnario of missing plugins on
recipient server. To do the same, the test earlier used to copy all
plugins to recipient server's plugin_dir and delete some plugins to test
the clone plugin's behavior when recipeint had some plugins missing.

During the test investigation, it was found that it is just sufficient
to have only the clone plugin copied to the recipient server so that it
simulates the missing plugins.

This patch makes the the test independent of plugin paths so it works on
both build and installed directories.
inikep pushed a commit to inikep/percona-server that referenced this pull request Jan 23, 2025
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>

---------------------------------------------------------------------------------------

PS-8844: Fix the failing clone.plugin_mismatch

https://jira.percona.com/browse/PS-8844

The test clone.plugin_mismatch fails when run from installed
directories due to the different path of the plugin directory used by
the test.

Failure:
        CURRENT_TEST: clone.plugin_mismatch
        mysqltest: At line 28: Command "remove_file" failed with error 1. my_errno=2.

The test involves simulating the secnario of missing plugins on
recipient server. To do the same, the test earlier used to copy all
plugins to recipient server's plugin_dir and delete some plugins to test
the clone plugin's behavior when recipeint had some plugins missing.

During the test investigation, it was found that it is just sufficient
to have only the clone plugin copied to the recipient server so that it
simulates the missing plugins.

This patch makes the the test independent of plugin paths so it works on
both build and installed directories.
inikep pushed a commit to inikep/percona-server that referenced this pull request Jan 27, 2025
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>

---------------------------------------------------------------------------------------

PS-8844: Fix the failing clone.plugin_mismatch

https://jira.percona.com/browse/PS-8844

The test clone.plugin_mismatch fails when run from installed
directories due to the different path of the plugin directory used by
the test.

Failure:
        CURRENT_TEST: clone.plugin_mismatch
        mysqltest: At line 28: Command "remove_file" failed with error 1. my_errno=2.

The test involves simulating the secnario of missing plugins on
recipient server. To do the same, the test earlier used to copy all
plugins to recipient server's plugin_dir and delete some plugins to test
the clone plugin's behavior when recipeint had some plugins missing.

During the test investigation, it was found that it is just sufficient
to have only the clone plugin copied to the recipient server so that it
simulates the missing plugins.

This patch makes the the test independent of plugin paths so it works on
both build and installed directories.
inikep pushed a commit to inikep/percona-server that referenced this pull request Jan 28, 2025
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>

---------------------------------------------------------------------------------------

PS-8844: Fix the failing clone.plugin_mismatch

https://jira.percona.com/browse/PS-8844

The test clone.plugin_mismatch fails when run from installed
directories due to the different path of the plugin directory used by
the test.

Failure:
        CURRENT_TEST: clone.plugin_mismatch
        mysqltest: At line 28: Command "remove_file" failed with error 1. my_errno=2.

The test involves simulating the secnario of missing plugins on
recipient server. To do the same, the test earlier used to copy all
plugins to recipient server's plugin_dir and delete some plugins to test
the clone plugin's behavior when recipeint had some plugins missing.

During the test investigation, it was found that it is just sufficient
to have only the clone plugin copied to the recipient server so that it
simulates the missing plugins.

This patch makes the the test independent of plugin paths so it works on
both build and installed directories.
lukin-oleksiy pushed a commit to lukin-oleksiy/percona-server that referenced this pull request Jan 31, 2025
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>

--------------------------------------------------------------------------

PS-8844: Fix the failing clone.plugin_mismatch

https://jira.percona.com/browse/PS-8844

The test clone.plugin_mismatch fails when run from installed
directories due to the different path of the plugin directory used by
the test.

Failure:
        CURRENT_TEST: clone.plugin_mismatch
        mysqltest: At line 28: Command "remove_file" failed with error 1. my_errno=2.

The test involves simulating the secnario of missing plugins on
recipient server. To do the same, the test earlier used to copy all
plugins to recipient server's plugin_dir and delete some plugins to test
the clone plugin's behavior when recipeint had some plugins missing.

During the test investigation, it was found that it is just sufficient
to have only the clone plugin copied to the recipient server so that it
simulates the missing plugins.

This patch makes the the test independent of plugin paths so it works on
both build and installed directories.
inikep pushed a commit to lukin-oleksiy/percona-server that referenced this pull request Feb 3, 2025
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>

--------------------------------------------------------------------------

PS-8844: Fix the failing clone.plugin_mismatch

https://jira.percona.com/browse/PS-8844

The test clone.plugin_mismatch fails when run from installed
directories due to the different path of the plugin directory used by
the test.

Failure:
        CURRENT_TEST: clone.plugin_mismatch
        mysqltest: At line 28: Command "remove_file" failed with error 1. my_errno=2.

The test involves simulating the secnario of missing plugins on
recipient server. To do the same, the test earlier used to copy all
plugins to recipient server's plugin_dir and delete some plugins to test
the clone plugin's behavior when recipeint had some plugins missing.

During the test investigation, it was found that it is just sufficient
to have only the clone plugin copied to the recipient server so that it
simulates the missing plugins.

This patch makes the the test independent of plugin paths so it works on
both build and installed directories.
inikep pushed a commit to lukin-oleksiy/percona-server that referenced this pull request Feb 4, 2025
…o match on recipient/donor (percona#5032)

PS-8188 : Make the clone_plugin to not force plugins to match on recipient/donor

https://jira.percona.com/browse/PS-8188

Problem:
--------
Clone enforces donor and recipient have same plugins installed.
For example, if a donor has an extra authentication plugin or a data masking plugin
installed but not installed on recipient, it is not possible to clone.
It will fail with the below error.

'Clone Donor plugin <plugin_name> is not active in Recipient.'

Fix:
----
Introduce new clone option 'clone_exclude_plugins_match' to take list of plugins that
are not installed on recipient.

This option is used on recipient server. The following plugins are disallowed. They must
be installed on recipient.

"daemon_keyring_proxy_plugin",
"binlog",
"performance_schema",
"memory",
"innodb",
"keyring_file",
"keyring_vault"

Co-authored-by: Satya Bodapati <satya.bodapati@percona.com>

--------------------------------------------------------------------------

PS-8844: Fix the failing clone.plugin_mismatch

https://jira.percona.com/browse/PS-8844

The test clone.plugin_mismatch fails when run from installed
directories due to the different path of the plugin directory used by
the test.

Failure:
        CURRENT_TEST: clone.plugin_mismatch
        mysqltest: At line 28: Command "remove_file" failed with error 1. my_errno=2.

The test involves simulating the secnario of missing plugins on
recipient server. To do the same, the test earlier used to copy all
plugins to recipient server's plugin_dir and delete some plugins to test
the clone plugin's behavior when recipeint had some plugins missing.

During the test investigation, it was found that it is just sufficient
to have only the clone plugin copied to the recipient server so that it
simulates the missing plugins.

This patch makes the the test independent of plugin paths so it works on
both build and installed directories.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants