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

FB8-181: Maintain a whitelist of semi-sync slaves which can ACK transactions #1017

Closed
wants to merge 1 commit into from

Conversation

inikep
Copy link
Contributor

@inikep inikep commented Apr 25, 2019

Summary:

Jira issue: https://jira.percona.com/browse/FB8-181

Reference Patch: ee761fc
Reference Patch: 68f34521e82
Reference Patch: dfb038d48d0
Reference Patch: de1e8c7bfe7
Reference Patch: 26835a39459

A whitelist of semi-sync slaves can be maintained using a new sys-var
rpl_semi_sync_master_whitelist. The value of this variable is a comma
separated list of UUIDs. ACK from any slave which is not in the whitelist will
be ignored. The whitelist is persisted in file
semi_sync_master_whitelist.info to survive server restarts.

Porting notice:
You have to use set @@persist.rpl_semi_sync_master_whitelist to keep
value across server restarts.

TO DO: Because of conflicts I removed changes in mysql-test/t/all_persisted_variables.test.
This test has to be modified at let $total_persistent_vars=XXX; (+1 increase)
and it should be re-recorded.

Originally Reviewed By: Tema

plugin/semisync/semisync_master.cc Outdated Show resolved Hide resolved
plugin/semisync/semisync_master.cc Outdated Show resolved Hide resolved
plugin/semisync/semisync_master.cc Outdated Show resolved Hide resolved
plugin/semisync/semisync_master.cc Outdated Show resolved Hide resolved
plugin/semisync/semisync_master.cc Outdated Show resolved Hide resolved
mysql-test/suite/rpl/t/rpl_semi_sync_master_whitelist.test Outdated Show resolved Hide resolved
mysql-test/suite/rpl/t/rpl_semi_sync_master_whitelist.test Outdated Show resolved Hide resolved
mysql-test/suite/rpl/t/rpl_semi_sync_master_whitelist.test Outdated Show resolved Hide resolved
mysql-test/suite/rpl/t/rpl_semi_sync_master_whitelist.test Outdated Show resolved Hide resolved
mysql-test/suite/rpl/t/rpl_semi_sync_master_whitelist.test Outdated Show resolved Hide resolved
Copy link
Contributor

@laurynas-biveinis laurynas-biveinis left a comment

Choose a reason for hiding this comment

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

semi_sync_master_whitelist.info persistence should be replaced by SET PERSIST

@inikep inikep force-pushed the FB8-181 branch 4 times, most recently from b017400 to 3141b3d Compare April 26, 2019 17:24
@inikep
Copy link
Contributor Author

inikep commented Apr 26, 2019

All comments including SET PERSIST were addressed.

Copy link
Contributor

@percona-ysorokin percona-ysorokin left a comment

Choose a reason for hiding this comment

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

LGTM

@inikep inikep force-pushed the FB8-181 branch 4 times, most recently from 7d6bc62 to 8d44262 Compare May 9, 2019 07:22
@inikep inikep changed the title WIP FB8-181: Maintain a whitelist of semi-sync slaves which can ACK transactions FB8-181: Maintain a whitelist of semi-sync slaves which can ACK transactions May 9, 2019
Copy link

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@hermanlee has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

plugin/semisync/semisync_master.cc Outdated Show resolved Hide resolved
plugin/semisync/semisync_master.cc Outdated Show resolved Hide resolved
plugin/semisync/semisync_master_plugin.cc Outdated Show resolved Hide resolved
@facebook-github-bot
Copy link

@inikep has updated the pull request. Re-import the pull request

@inikep
Copy link
Contributor Author

inikep commented May 20, 2019

PR was updated: using server_uuid instead of server_id in the semi-sync plugin

Copy link

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@hermanlee has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link

@inikep has updated the pull request. Re-import the pull request

@facebook-github-bot
Copy link

@inikep has updated the pull request. Re-import the pull request

@facebook-github-bot
Copy link

@inikep has updated the pull request. Re-import the pull request

@facebook-github-bot
Copy link

@inikep has updated the pull request. Re-import the pull request

@facebook-github-bot
Copy link

@inikep has updated the pull request. Re-import the pull request

inikep added a commit to inikep/mysql-5.6 that referenced this pull request Jun 23, 2023
…actions (facebook#1017) (facebook#1017)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-181

Reference Patch: facebook@ee761fc
Reference Patch: facebook@68f34521e82
Reference Patch: facebook@dfb038d48d0
Reference Patch: facebook@de1e8c7bfe7
Reference Patch: facebook@26835a39459

A whitelist of semi-sync slaves can be maintained using a new sys-var
`rpl_semi_sync_master_whitelist`. The value of this variable is a comma
separated list of UUIDs. ACK from any slave which is not in the whitelist will
be ignored. The whitelist is persisted in file
`semi_sync_master_whitelist.info` to survive server restarts.

Porting notice:
You have to use `set persist.rpl_semi_sync_master_whitelist` to keep
value across server restarts.

Originally Reviewed By: Tema
Pull Request resolved: facebook#1017

Differential Revision: D15285223

Pulled By: yizhang82

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

Fix rpl.rpl_semi_sync_master_whitelist test in valgrind

Summary:
Increase the retry counts for valgrind runs.

Also increase the shutdown_timeout for valgrind runs to give more time
for shutdown to complete.

Reviewed By: Pushapgl

Differential Revision: D33359920
hermanlee pushed a commit to hermanlee/mysql-5.6 that referenced this pull request Oct 3, 2023
…actions (facebook#1017) (facebook#1017)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-181

Reference Patch: facebook@ee761fc
Reference Patch: facebook@68f34521e82
Reference Patch: facebook@dfb038d48d0
Reference Patch: facebook@de1e8c7bfe7
Reference Patch: facebook@26835a39459

A whitelist of semi-sync slaves can be maintained using a new sys-var
`rpl_semi_sync_master_whitelist`. The value of this variable is a comma
separated list of UUIDs. ACK from any slave which is not in the whitelist will
be ignored. The whitelist is persisted in file
`semi_sync_master_whitelist.info` to survive server restarts.

Porting notice:
You have to use `set persist.rpl_semi_sync_master_whitelist` to keep
value across server restarts.

Originally Reviewed By: Tema
Pull Request resolved: facebook#1017

Differential Revision: D15285223

Pulled By: yizhang82

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

Fix rpl.rpl_semi_sync_master_whitelist test in valgrind

Summary:
Increase the retry counts for valgrind runs.

Also increase the shutdown_timeout for valgrind runs to give more time
for shutdown to complete.

Reviewed By: Pushapgl

Differential Revision: D33359920
hermanlee pushed a commit to hermanlee/mysql-5.6 that referenced this pull request Oct 18, 2023
…actions (facebook#1017) (facebook#1017)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-181

Reference Patch: facebook@ee761fc
Reference Patch: facebook@68f34521e82
Reference Patch: facebook@dfb038d48d0
Reference Patch: facebook@de1e8c7bfe7
Reference Patch: facebook@26835a39459

A whitelist of semi-sync slaves can be maintained using a new sys-var
`rpl_semi_sync_master_whitelist`. The value of this variable is a comma
separated list of UUIDs. ACK from any slave which is not in the whitelist will
be ignored. The whitelist is persisted in file
`semi_sync_master_whitelist.info` to survive server restarts.

Porting notice:
You have to use `set persist.rpl_semi_sync_master_whitelist` to keep
value across server restarts.

Originally Reviewed By: Tema
Pull Request resolved: facebook#1017

Differential Revision: D15285223

Pulled By: yizhang82

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

Fix rpl.rpl_semi_sync_master_whitelist test in valgrind

Summary:
Increase the retry counts for valgrind runs.

Also increase the shutdown_timeout for valgrind runs to give more time
for shutdown to complete.

Reviewed By: Pushapgl

Differential Revision: D33359920
inikep added a commit to inikep/percona-server that referenced this pull request Apr 16, 2024
…actions (percona#1017) (percona#1017)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-181

Reference Patch: facebook/mysql-5.6@ee761fc
Reference Patch: facebook/mysql-5.6@68f34521e82
Reference Patch: facebook/mysql-5.6@dfb038d48d0
Reference Patch: facebook/mysql-5.6@de1e8c7bfe7
Reference Patch: facebook/mysql-5.6@26835a39459

A whitelist of semi-sync slaves can be maintained using a new sys-var
`rpl_semi_sync_master_whitelist`. The value of this variable is a comma
separated list of UUIDs. ACK from any slave which is not in the whitelist will
be ignored. The whitelist is persisted in file
`semi_sync_master_whitelist.info` to survive server restarts.

Porting notice:
You have to use `set persist.rpl_semi_sync_master_whitelist` to keep
value across server restarts.

Originally Reviewed By: Tema
Pull Request resolved: facebook/mysql-5.6#1017

Differential Revision: D15285223

Pulled By: yizhang82

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

Fix rpl.rpl_semi_sync_master_whitelist test in valgrind

Summary:
Increase the retry counts for valgrind runs.

Also increase the shutdown_timeout for valgrind runs to give more time
for shutdown to complete.

Reviewed By: Pushapgl

Differential Revision: D33359920
inikep added a commit to inikep/percona-server that referenced this pull request Apr 17, 2024
…actions (percona#1017) (percona#1017)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-181

Reference Patch: facebook/mysql-5.6@ee761fc
Reference Patch: facebook/mysql-5.6@68f34521e82
Reference Patch: facebook/mysql-5.6@dfb038d48d0
Reference Patch: facebook/mysql-5.6@de1e8c7bfe7
Reference Patch: facebook/mysql-5.6@26835a39459

A whitelist of semi-sync slaves can be maintained using a new sys-var
`rpl_semi_sync_master_whitelist`. The value of this variable is a comma
separated list of UUIDs. ACK from any slave which is not in the whitelist will
be ignored. The whitelist is persisted in file
`semi_sync_master_whitelist.info` to survive server restarts.

Porting notice:
You have to use `set persist.rpl_semi_sync_master_whitelist` to keep
value across server restarts.

Originally Reviewed By: Tema
Pull Request resolved: facebook/mysql-5.6#1017

Differential Revision: D15285223

Pulled By: yizhang82

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

Fix rpl.rpl_semi_sync_master_whitelist test in valgrind

Summary:
Increase the retry counts for valgrind runs.

Also increase the shutdown_timeout for valgrind runs to give more time
for shutdown to complete.

Reviewed By: Pushapgl

Differential Revision: D33359920
inikep added a commit to inikep/mysql-5.6 that referenced this pull request Apr 23, 2024
…actions (facebook#1017) (facebook#1017)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-181

Reference Patch: facebook@ee761fc
Reference Patch: facebook@68f34521e82
Reference Patch: facebook@dfb038d48d0
Reference Patch: facebook@de1e8c7bfe7
Reference Patch: facebook@26835a39459

A whitelist of semi-sync slaves can be maintained using a new sys-var
`rpl_semi_sync_master_whitelist`. The value of this variable is a comma
separated list of UUIDs. ACK from any slave which is not in the whitelist will
be ignored. The whitelist is persisted in file
`semi_sync_master_whitelist.info` to survive server restarts.

Porting notice:
You have to use `set persist.rpl_semi_sync_master_whitelist` to keep
value across server restarts.

Originally Reviewed By: Tema
Pull Request resolved: facebook#1017

Differential Revision: D15285223

Pulled By: yizhang82

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

Fix rpl.rpl_semi_sync_master_whitelist test in valgrind

Summary:
Increase the retry counts for valgrind runs.

Also increase the shutdown_timeout for valgrind runs to give more time
for shutdown to complete.

Reviewed By: Pushapgl

Differential Revision: D33359920
inikep added a commit to inikep/mysql-5.6 that referenced this pull request Apr 25, 2024
…actions (facebook#1017) (facebook#1017)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-181

Reference Patch: facebook@ee761fc
Reference Patch: facebook@68f34521e82
Reference Patch: facebook@dfb038d48d0
Reference Patch: facebook@de1e8c7bfe7
Reference Patch: facebook@26835a39459

A whitelist of semi-sync slaves can be maintained using a new sys-var
`rpl_semi_sync_master_whitelist`. The value of this variable is a comma
separated list of UUIDs. ACK from any slave which is not in the whitelist will
be ignored. The whitelist is persisted in file
`semi_sync_master_whitelist.info` to survive server restarts.

Porting notice:
You have to use `set persist.rpl_semi_sync_master_whitelist` to keep
value across server restarts.

Originally Reviewed By: Tema
Pull Request resolved: facebook#1017

Differential Revision: D15285223

Pulled By: yizhang82

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

Fix rpl.rpl_semi_sync_master_whitelist test in valgrind

Summary:
Increase the retry counts for valgrind runs.

Also increase the shutdown_timeout for valgrind runs to give more time
for shutdown to complete.

Reviewed By: Pushapgl

Differential Revision: D33359920
inikep added a commit to inikep/mysql-5.6 that referenced this pull request May 7, 2024
…actions (facebook#1017) (facebook#1017)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-181

Reference Patch: facebook@ee761fc
Reference Patch: facebook@68f34521e82
Reference Patch: facebook@dfb038d48d0
Reference Patch: facebook@de1e8c7bfe7
Reference Patch: facebook@26835a39459

A whitelist of semi-sync slaves can be maintained using a new sys-var
`rpl_semi_sync_master_whitelist`. The value of this variable is a comma
separated list of UUIDs. ACK from any slave which is not in the whitelist will
be ignored. The whitelist is persisted in file
`semi_sync_master_whitelist.info` to survive server restarts.

Porting notice:
You have to use `set persist.rpl_semi_sync_master_whitelist` to keep
value across server restarts.

Originally Reviewed By: Tema
Pull Request resolved: facebook#1017

Differential Revision: D15285223

Pulled By: yizhang82

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

Fix rpl.rpl_semi_sync_master_whitelist test in valgrind

Summary:
Increase the retry counts for valgrind runs.

Also increase the shutdown_timeout for valgrind runs to give more time
for shutdown to complete.

Reviewed By: Pushapgl

Differential Revision: D33359920
inikep added a commit to inikep/mysql-5.6 that referenced this pull request May 8, 2024
…actions (facebook#1017) (facebook#1017)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-181

Reference Patch: facebook@ee761fc
Reference Patch: facebook@68f34521e82
Reference Patch: facebook@dfb038d48d0
Reference Patch: facebook@de1e8c7bfe7
Reference Patch: facebook@26835a39459

A whitelist of semi-sync slaves can be maintained using a new sys-var
`rpl_semi_sync_master_whitelist`. The value of this variable is a comma
separated list of UUIDs. ACK from any slave which is not in the whitelist will
be ignored. The whitelist is persisted in file
`semi_sync_master_whitelist.info` to survive server restarts.

Porting notice:
You have to use `set persist.rpl_semi_sync_master_whitelist` to keep
value across server restarts.

Originally Reviewed By: Tema
Pull Request resolved: facebook#1017

Differential Revision: D15285223

Pulled By: yizhang82

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

Fix rpl.rpl_semi_sync_master_whitelist test in valgrind

Summary:
Increase the retry counts for valgrind runs.

Also increase the shutdown_timeout for valgrind runs to give more time
for shutdown to complete.

Reviewed By: Pushapgl

Differential Revision: D33359920
inikep added a commit to inikep/mysql-5.6 that referenced this pull request May 9, 2024
…actions (facebook#1017) (facebook#1017)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-181

Reference Patch: facebook@ee761fc
Reference Patch: facebook@68f34521e82
Reference Patch: facebook@dfb038d48d0
Reference Patch: facebook@de1e8c7bfe7
Reference Patch: facebook@26835a39459

A whitelist of semi-sync slaves can be maintained using a new sys-var
`rpl_semi_sync_master_whitelist`. The value of this variable is a comma
separated list of UUIDs. ACK from any slave which is not in the whitelist will
be ignored. The whitelist is persisted in file
`semi_sync_master_whitelist.info` to survive server restarts.

Porting notice:
You have to use `set persist.rpl_semi_sync_master_whitelist` to keep
value across server restarts.

Originally Reviewed By: Tema
Pull Request resolved: facebook#1017

Differential Revision: D15285223

Pulled By: yizhang82

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

Fix rpl.rpl_semi_sync_master_whitelist test in valgrind

Summary:
Increase the retry counts for valgrind runs.

Also increase the shutdown_timeout for valgrind runs to give more time
for shutdown to complete.

Reviewed By: Pushapgl

Differential Revision: D33359920
inikep added a commit to inikep/mysql-5.6 that referenced this pull request May 10, 2024
…actions (facebook#1017) (facebook#1017)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-181

Reference Patch: facebook@ee761fc
Reference Patch: facebook@68f34521e82
Reference Patch: facebook@dfb038d48d0
Reference Patch: facebook@de1e8c7bfe7
Reference Patch: facebook@26835a39459

A whitelist of semi-sync slaves can be maintained using a new sys-var
`rpl_semi_sync_master_whitelist`. The value of this variable is a comma
separated list of UUIDs. ACK from any slave which is not in the whitelist will
be ignored. The whitelist is persisted in file
`semi_sync_master_whitelist.info` to survive server restarts.

Porting notice:
You have to use `set persist.rpl_semi_sync_master_whitelist` to keep
value across server restarts.

Originally Reviewed By: Tema
Pull Request resolved: facebook#1017

Differential Revision: D15285223

Pulled By: yizhang82

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

Fix rpl.rpl_semi_sync_master_whitelist test in valgrind

Summary:
Increase the retry counts for valgrind runs.

Also increase the shutdown_timeout for valgrind runs to give more time
for shutdown to complete.

Reviewed By: Pushapgl

Differential Revision: D33359920
inikep added a commit to inikep/mysql-5.6 that referenced this pull request May 13, 2024
…actions (facebook#1017) (facebook#1017)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-181

Reference Patch: facebook@ee761fc
Reference Patch: facebook@68f34521e82
Reference Patch: facebook@dfb038d48d0
Reference Patch: facebook@de1e8c7bfe7
Reference Patch: facebook@26835a39459

A whitelist of semi-sync slaves can be maintained using a new sys-var
`rpl_semi_sync_master_whitelist`. The value of this variable is a comma
separated list of UUIDs. ACK from any slave which is not in the whitelist will
be ignored. The whitelist is persisted in file
`semi_sync_master_whitelist.info` to survive server restarts.

Porting notice:
You have to use `set persist.rpl_semi_sync_master_whitelist` to keep
value across server restarts.

Originally Reviewed By: Tema
Pull Request resolved: facebook#1017

Differential Revision: D15285223

Pulled By: yizhang82

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

Fix rpl.rpl_semi_sync_master_whitelist test in valgrind

Summary:
Increase the retry counts for valgrind runs.

Also increase the shutdown_timeout for valgrind runs to give more time
for shutdown to complete.

Reviewed By: Pushapgl

Differential Revision: D33359920
inikep added a commit to inikep/mysql-5.6 that referenced this pull request May 15, 2024
…actions (facebook#1017) (facebook#1017)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-181

Reference Patch: facebook@ee761fc
Reference Patch: facebook@68f34521e82
Reference Patch: facebook@dfb038d48d0
Reference Patch: facebook@de1e8c7bfe7
Reference Patch: facebook@26835a39459

A whitelist of semi-sync slaves can be maintained using a new sys-var
`rpl_semi_sync_master_whitelist`. The value of this variable is a comma
separated list of UUIDs. ACK from any slave which is not in the whitelist will
be ignored. The whitelist is persisted in file
`semi_sync_master_whitelist.info` to survive server restarts.

Porting notice:
You have to use `set persist.rpl_semi_sync_master_whitelist` to keep
value across server restarts.

Originally Reviewed By: Tema
Pull Request resolved: facebook#1017

Differential Revision: D15285223

Pulled By: yizhang82

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

Fix rpl.rpl_semi_sync_master_whitelist test in valgrind

Summary:
Increase the retry counts for valgrind runs.

Also increase the shutdown_timeout for valgrind runs to give more time
for shutdown to complete.

Reviewed By: Pushapgl

Differential Revision: D33359920
inikep added a commit to inikep/mysql-5.6 that referenced this pull request May 16, 2024
…actions (facebook#1017) (facebook#1017)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-181

Reference Patch: facebook@ee761fc
Reference Patch: facebook@68f34521e82
Reference Patch: facebook@dfb038d48d0
Reference Patch: facebook@de1e8c7bfe7
Reference Patch: facebook@26835a39459

A whitelist of semi-sync slaves can be maintained using a new sys-var
`rpl_semi_sync_master_whitelist`. The value of this variable is a comma
separated list of UUIDs. ACK from any slave which is not in the whitelist will
be ignored. The whitelist is persisted in file
`semi_sync_master_whitelist.info` to survive server restarts.

Porting notice:
You have to use `set persist.rpl_semi_sync_master_whitelist` to keep
value across server restarts.

Originally Reviewed By: Tema
Pull Request resolved: facebook#1017

Differential Revision: D15285223

Pulled By: yizhang82

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

Fix rpl.rpl_semi_sync_master_whitelist test in valgrind

Summary:
Increase the retry counts for valgrind runs.

Also increase the shutdown_timeout for valgrind runs to give more time
for shutdown to complete.

Reviewed By: Pushapgl

Differential Revision: D33359920
inikep added a commit to inikep/mysql-5.6 that referenced this pull request May 17, 2024
…actions (facebook#1017) (facebook#1017)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-181

Reference Patch: facebook@ee761fc
Reference Patch: facebook@68f34521e82
Reference Patch: facebook@dfb038d48d0
Reference Patch: facebook@de1e8c7bfe7
Reference Patch: facebook@26835a39459

A whitelist of semi-sync slaves can be maintained using a new sys-var
`rpl_semi_sync_master_whitelist`. The value of this variable is a comma
separated list of UUIDs. ACK from any slave which is not in the whitelist will
be ignored. The whitelist is persisted in file
`semi_sync_master_whitelist.info` to survive server restarts.

Porting notice:
You have to use `set persist.rpl_semi_sync_master_whitelist` to keep
value across server restarts.

Originally Reviewed By: Tema
Pull Request resolved: facebook#1017

Differential Revision: D15285223

Pulled By: yizhang82

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

Fix rpl.rpl_semi_sync_master_whitelist test in valgrind

Summary:
Increase the retry counts for valgrind runs.

Also increase the shutdown_timeout for valgrind runs to give more time
for shutdown to complete.

Reviewed By: Pushapgl

Differential Revision: D33359920
inikep added a commit to inikep/mysql-5.6 that referenced this pull request May 21, 2024
…actions (facebook#1017) (facebook#1017)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-181

Reference Patch: facebook@ee761fc
Reference Patch: facebook@68f34521e82
Reference Patch: facebook@dfb038d48d0
Reference Patch: facebook@de1e8c7bfe7
Reference Patch: facebook@26835a39459

A whitelist of semi-sync slaves can be maintained using a new sys-var
`rpl_semi_sync_master_whitelist`. The value of this variable is a comma
separated list of UUIDs. ACK from any slave which is not in the whitelist will
be ignored. The whitelist is persisted in file
`semi_sync_master_whitelist.info` to survive server restarts.

Porting notice:
You have to use `set persist.rpl_semi_sync_master_whitelist` to keep
value across server restarts.

Originally Reviewed By: Tema
Pull Request resolved: facebook#1017

Differential Revision: D15285223

Pulled By: yizhang82

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

Fix rpl.rpl_semi_sync_master_whitelist test in valgrind

Summary:
Increase the retry counts for valgrind runs.

Also increase the shutdown_timeout for valgrind runs to give more time
for shutdown to complete.

Reviewed By: Pushapgl

Differential Revision: D33359920
inikep added a commit to inikep/mysql-5.6 that referenced this pull request May 21, 2024
…actions (facebook#1017) (facebook#1017)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-181

Reference Patch: facebook@ee761fc
Reference Patch: facebook@68f34521e82
Reference Patch: facebook@dfb038d48d0
Reference Patch: facebook@de1e8c7bfe7
Reference Patch: facebook@26835a39459

A whitelist of semi-sync slaves can be maintained using a new sys-var
`rpl_semi_sync_master_whitelist`. The value of this variable is a comma
separated list of UUIDs. ACK from any slave which is not in the whitelist will
be ignored. The whitelist is persisted in file
`semi_sync_master_whitelist.info` to survive server restarts.

Porting notice:
You have to use `set persist.rpl_semi_sync_master_whitelist` to keep
value across server restarts.

Originally Reviewed By: Tema
Pull Request resolved: facebook#1017

Differential Revision: D15285223

Pulled By: yizhang82

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

Fix rpl.rpl_semi_sync_master_whitelist test in valgrind

Summary:
Increase the retry counts for valgrind runs.

Also increase the shutdown_timeout for valgrind runs to give more time
for shutdown to complete.

Reviewed By: Pushapgl

Differential Revision: D33359920
inikep added a commit to inikep/mysql-5.6 that referenced this pull request May 30, 2024
…actions (facebook#1017) (facebook#1017)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-181

Reference Patch: facebook@ee761fc
Reference Patch: facebook@68f34521e82
Reference Patch: facebook@dfb038d48d0
Reference Patch: facebook@de1e8c7bfe7
Reference Patch: facebook@26835a39459

A whitelist of semi-sync slaves can be maintained using a new sys-var
`rpl_semi_sync_master_whitelist`. The value of this variable is a comma
separated list of UUIDs. ACK from any slave which is not in the whitelist will
be ignored. The whitelist is persisted in file
`semi_sync_master_whitelist.info` to survive server restarts.

Porting notice:
You have to use `set persist.rpl_semi_sync_master_whitelist` to keep
value across server restarts.

Originally Reviewed By: Tema
Pull Request resolved: facebook#1017

Differential Revision: D15285223

Pulled By: yizhang82

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

Fix rpl.rpl_semi_sync_master_whitelist test in valgrind

Summary:
Increase the retry counts for valgrind runs.

Also increase the shutdown_timeout for valgrind runs to give more time
for shutdown to complete.

Reviewed By: Pushapgl

Differential Revision: D33359920
inikep added a commit to inikep/mysql-5.6 that referenced this pull request Jun 13, 2024
…actions (facebook#1017) (facebook#1017)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-181

Reference Patch: facebook@ee761fc
Reference Patch: facebook@68f34521e82
Reference Patch: facebook@dfb038d48d0
Reference Patch: facebook@de1e8c7bfe7
Reference Patch: facebook@26835a39459

A whitelist of semi-sync slaves can be maintained using a new sys-var
`rpl_semi_sync_master_whitelist`. The value of this variable is a comma
separated list of UUIDs. ACK from any slave which is not in the whitelist will
be ignored. The whitelist is persisted in file
`semi_sync_master_whitelist.info` to survive server restarts.

Porting notice:
You have to use `set persist.rpl_semi_sync_master_whitelist` to keep
value across server restarts.

Originally Reviewed By: Tema
Pull Request resolved: facebook#1017

Differential Revision: D15285223

Pulled By: yizhang82

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

Fix rpl.rpl_semi_sync_master_whitelist test in valgrind

Summary:
Increase the retry counts for valgrind runs.

Also increase the shutdown_timeout for valgrind runs to give more time
for shutdown to complete.

Reviewed By: Pushapgl

Differential Revision: D33359920
inikep added a commit to inikep/mysql-5.6 that referenced this pull request Jun 14, 2024
…actions (facebook#1017) (facebook#1017)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-181

Reference Patch: facebook@ee761fc
Reference Patch: facebook@68f34521e82
Reference Patch: facebook@dfb038d48d0
Reference Patch: facebook@de1e8c7bfe7
Reference Patch: facebook@26835a39459

A whitelist of semi-sync slaves can be maintained using a new sys-var
`rpl_semi_sync_master_whitelist`. The value of this variable is a comma
separated list of UUIDs. ACK from any slave which is not in the whitelist will
be ignored. The whitelist is persisted in file
`semi_sync_master_whitelist.info` to survive server restarts.

Porting notice:
You have to use `set persist.rpl_semi_sync_master_whitelist` to keep
value across server restarts.

Originally Reviewed By: Tema
Pull Request resolved: facebook#1017

Differential Revision: D15285223

Pulled By: yizhang82

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

Fix rpl.rpl_semi_sync_master_whitelist test in valgrind

Summary:
Increase the retry counts for valgrind runs.

Also increase the shutdown_timeout for valgrind runs to give more time
for shutdown to complete.

Reviewed By: Pushapgl

Differential Revision: D33359920
inikep added a commit to inikep/mysql-5.6 that referenced this pull request Jun 19, 2024
…actions (facebook#1017) (facebook#1017)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-181

Reference Patch: facebook@ee761fc
Reference Patch: facebook@68f34521e82
Reference Patch: facebook@dfb038d48d0
Reference Patch: facebook@de1e8c7bfe7
Reference Patch: facebook@26835a39459

A whitelist of semi-sync slaves can be maintained using a new sys-var
`rpl_semi_sync_master_whitelist`. The value of this variable is a comma
separated list of UUIDs. ACK from any slave which is not in the whitelist will
be ignored. The whitelist is persisted in file
`semi_sync_master_whitelist.info` to survive server restarts.

Porting notice:
You have to use `set persist.rpl_semi_sync_master_whitelist` to keep
value across server restarts.

Originally Reviewed By: Tema
Pull Request resolved: facebook#1017

Differential Revision: D15285223

Pulled By: yizhang82

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

Fix rpl.rpl_semi_sync_master_whitelist test in valgrind

Summary:
Increase the retry counts for valgrind runs.

Also increase the shutdown_timeout for valgrind runs to give more time
for shutdown to complete.

Reviewed By: Pushapgl

Differential Revision: D33359920
inikep added a commit to inikep/mysql-5.6 that referenced this pull request Jun 20, 2024
…actions (facebook#1017) (facebook#1017)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-181

Reference Patch: facebook@ee761fc
Reference Patch: facebook@68f34521e82
Reference Patch: facebook@dfb038d48d0
Reference Patch: facebook@de1e8c7bfe7
Reference Patch: facebook@26835a39459

A whitelist of semi-sync slaves can be maintained using a new sys-var
`rpl_semi_sync_master_whitelist`. The value of this variable is a comma
separated list of UUIDs. ACK from any slave which is not in the whitelist will
be ignored. The whitelist is persisted in file
`semi_sync_master_whitelist.info` to survive server restarts.

Porting notice:
You have to use `set persist.rpl_semi_sync_master_whitelist` to keep
value across server restarts.

Originally Reviewed By: Tema
Pull Request resolved: facebook#1017

Differential Revision: D15285223

Pulled By: yizhang82

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

Fix rpl.rpl_semi_sync_master_whitelist test in valgrind

Summary:
Increase the retry counts for valgrind runs.

Also increase the shutdown_timeout for valgrind runs to give more time
for shutdown to complete.

Reviewed By: Pushapgl

Differential Revision: D33359920
inikep added a commit to inikep/mysql-5.6 that referenced this pull request Jun 21, 2024
…actions (facebook#1017) (facebook#1017)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-181

Reference Patch: facebook@ee761fc
Reference Patch: facebook@68f34521e82
Reference Patch: facebook@dfb038d48d0
Reference Patch: facebook@de1e8c7bfe7
Reference Patch: facebook@26835a39459

A whitelist of semi-sync slaves can be maintained using a new sys-var
`rpl_semi_sync_master_whitelist`. The value of this variable is a comma
separated list of UUIDs. ACK from any slave which is not in the whitelist will
be ignored. The whitelist is persisted in file
`semi_sync_master_whitelist.info` to survive server restarts.

Porting notice:
You have to use `set persist.rpl_semi_sync_master_whitelist` to keep
value across server restarts.

Originally Reviewed By: Tema
Pull Request resolved: facebook#1017

Differential Revision: D15285223

Pulled By: yizhang82

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

Fix rpl.rpl_semi_sync_master_whitelist test in valgrind

Summary:
Increase the retry counts for valgrind runs.

Also increase the shutdown_timeout for valgrind runs to give more time
for shutdown to complete.

Reviewed By: Pushapgl

Differential Revision: D33359920
inikep added a commit to inikep/mysql-5.6 that referenced this pull request Jun 25, 2024
…actions (facebook#1017) (facebook#1017)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-181

Reference Patch: facebook@ee761fc
Reference Patch: facebook@68f34521e82
Reference Patch: facebook@dfb038d48d0
Reference Patch: facebook@de1e8c7bfe7
Reference Patch: facebook@26835a39459

A whitelist of semi-sync slaves can be maintained using a new sys-var
`rpl_semi_sync_master_whitelist`. The value of this variable is a comma
separated list of UUIDs. ACK from any slave which is not in the whitelist will
be ignored. The whitelist is persisted in file
`semi_sync_master_whitelist.info` to survive server restarts.

Porting notice:
You have to use `set persist.rpl_semi_sync_master_whitelist` to keep
value across server restarts.

Originally Reviewed By: Tema
Pull Request resolved: facebook#1017

Differential Revision: D15285223

Pulled By: yizhang82

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

Fix rpl.rpl_semi_sync_master_whitelist test in valgrind

Summary:
Increase the retry counts for valgrind runs.

Also increase the shutdown_timeout for valgrind runs to give more time
for shutdown to complete.

Reviewed By: Pushapgl

Differential Revision: D33359920
inikep added a commit to inikep/mysql-5.6 that referenced this pull request Jul 2, 2024
…actions (facebook#1017) (facebook#1017)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-181

Reference Patch: facebook@ee761fc
Reference Patch: facebook@68f34521e82
Reference Patch: facebook@dfb038d48d0
Reference Patch: facebook@de1e8c7bfe7
Reference Patch: facebook@26835a39459

A whitelist of semi-sync slaves can be maintained using a new sys-var
`rpl_semi_sync_master_whitelist`. The value of this variable is a comma
separated list of UUIDs. ACK from any slave which is not in the whitelist will
be ignored. The whitelist is persisted in file
`semi_sync_master_whitelist.info` to survive server restarts.

Porting notice:
You have to use `set persist.rpl_semi_sync_master_whitelist` to keep
value across server restarts.

Originally Reviewed By: Tema
Pull Request resolved: facebook#1017

Differential Revision: D15285223

Pulled By: yizhang82

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

Fix rpl.rpl_semi_sync_master_whitelist test in valgrind

Summary:
Increase the retry counts for valgrind runs.

Also increase the shutdown_timeout for valgrind runs to give more time
for shutdown to complete.

Reviewed By: Pushapgl

Differential Revision: D33359920
inikep added a commit to inikep/mysql-5.6 that referenced this pull request Jul 19, 2024
…actions (facebook#1017) (facebook#1017)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-181

Reference Patch: facebook@ee761fc
Reference Patch: facebook@68f34521e82
Reference Patch: facebook@dfb038d48d0
Reference Patch: facebook@de1e8c7bfe7
Reference Patch: facebook@26835a39459

A whitelist of semi-sync slaves can be maintained using a new sys-var
`rpl_semi_sync_master_whitelist`. The value of this variable is a comma
separated list of UUIDs. ACK from any slave which is not in the whitelist will
be ignored. The whitelist is persisted in file
`semi_sync_master_whitelist.info` to survive server restarts.

Porting notice:
You have to use `set persist.rpl_semi_sync_master_whitelist` to keep
value across server restarts.

Originally Reviewed By: Tema
Pull Request resolved: facebook#1017

Differential Revision: D15285223

Pulled By: yizhang82

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

Fix rpl.rpl_semi_sync_master_whitelist test in valgrind

Summary:
Increase the retry counts for valgrind runs.

Also increase the shutdown_timeout for valgrind runs to give more time
for shutdown to complete.

Reviewed By: Pushapgl

Differential Revision: D33359920
inikep added a commit to inikep/mysql-5.6 that referenced this pull request Jul 19, 2024
…actions (facebook#1017) (facebook#1017)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-181

Reference Patch: facebook@ee761fc
Reference Patch: facebook@68f34521e82
Reference Patch: facebook@dfb038d48d0
Reference Patch: facebook@de1e8c7bfe7
Reference Patch: facebook@26835a39459

A whitelist of semi-sync slaves can be maintained using a new sys-var
`rpl_semi_sync_master_whitelist`. The value of this variable is a comma
separated list of UUIDs. ACK from any slave which is not in the whitelist will
be ignored. The whitelist is persisted in file
`semi_sync_master_whitelist.info` to survive server restarts.

Porting notice:
You have to use `set persist.rpl_semi_sync_master_whitelist` to keep
value across server restarts.

Originally Reviewed By: Tema
Pull Request resolved: facebook#1017

Differential Revision: D15285223

Pulled By: yizhang82

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

Fix rpl.rpl_semi_sync_master_whitelist test in valgrind

Summary:
Increase the retry counts for valgrind runs.

Also increase the shutdown_timeout for valgrind runs to give more time
for shutdown to complete.

Reviewed By: Pushapgl

Differential Revision: D33359920
inikep added a commit to inikep/mysql-5.6 that referenced this pull request Jul 31, 2024
…actions (facebook#1017) (facebook#1017)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-181

Reference Patch: facebook@ee761fc
Reference Patch: facebook@68f34521e82
Reference Patch: facebook@dfb038d48d0
Reference Patch: facebook@de1e8c7bfe7
Reference Patch: facebook@26835a39459

A whitelist of semi-sync slaves can be maintained using a new sys-var
`rpl_semi_sync_master_whitelist`. The value of this variable is a comma
separated list of UUIDs. ACK from any slave which is not in the whitelist will
be ignored. The whitelist is persisted in file
`semi_sync_master_whitelist.info` to survive server restarts.

Porting notice:
You have to use `set persist.rpl_semi_sync_master_whitelist` to keep
value across server restarts.

Originally Reviewed By: Tema
Pull Request resolved: facebook#1017

Differential Revision: D15285223

Pulled By: yizhang82

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

Fix rpl.rpl_semi_sync_master_whitelist test in valgrind

Summary:
Increase the retry counts for valgrind runs.

Also increase the shutdown_timeout for valgrind runs to give more time
for shutdown to complete.

Reviewed By: Pushapgl

Differential Revision: D33359920
inikep added a commit to inikep/mysql-5.6 that referenced this pull request Aug 2, 2024
…actions (facebook#1017) (facebook#1017)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-181

Reference Patch: facebook@ee761fc
Reference Patch: facebook@68f34521e82
Reference Patch: facebook@dfb038d48d0
Reference Patch: facebook@de1e8c7bfe7
Reference Patch: facebook@26835a39459

A whitelist of semi-sync slaves can be maintained using a new sys-var
`rpl_semi_sync_master_whitelist`. The value of this variable is a comma
separated list of UUIDs. ACK from any slave which is not in the whitelist will
be ignored. The whitelist is persisted in file
`semi_sync_master_whitelist.info` to survive server restarts.

Porting notice:
You have to use `set persist.rpl_semi_sync_master_whitelist` to keep
value across server restarts.

Originally Reviewed By: Tema
Pull Request resolved: facebook#1017

Differential Revision: D15285223

Pulled By: yizhang82

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

Fix rpl.rpl_semi_sync_master_whitelist test in valgrind

Summary:
Increase the retry counts for valgrind runs.

Also increase the shutdown_timeout for valgrind runs to give more time
for shutdown to complete.

Reviewed By: Pushapgl

Differential Revision: D33359920
inikep added a commit to inikep/mysql-5.6 that referenced this pull request Aug 6, 2024
…actions (facebook#1017) (facebook#1017)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-181

Reference Patch: facebook@ee761fc
Reference Patch: facebook@68f34521e82
Reference Patch: facebook@dfb038d48d0
Reference Patch: facebook@de1e8c7bfe7
Reference Patch: facebook@26835a39459

A whitelist of semi-sync slaves can be maintained using a new sys-var
`rpl_semi_sync_master_whitelist`. The value of this variable is a comma
separated list of UUIDs. ACK from any slave which is not in the whitelist will
be ignored. The whitelist is persisted in file
`semi_sync_master_whitelist.info` to survive server restarts.

Porting notice:
You have to use `set persist.rpl_semi_sync_master_whitelist` to keep
value across server restarts.

Originally Reviewed By: Tema
Pull Request resolved: facebook#1017

Differential Revision: D15285223

Pulled By: yizhang82

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

Fix rpl.rpl_semi_sync_master_whitelist test in valgrind

Summary:
Increase the retry counts for valgrind runs.

Also increase the shutdown_timeout for valgrind runs to give more time
for shutdown to complete.

Reviewed By: Pushapgl

Differential Revision: D33359920
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants