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

Bug1617998 5.7 #940

Merged
merged 2 commits into from Aug 29, 2016
Merged

Conversation

laurynas-biveinis
Copy link
Contributor

No description provided.

There is a race condition between HS worker threads initializing
default SE and default temp SE fields and the server main thread
initializing the same globally w/o locking.

As HS workers do not care about the default (temp) SE, initialise
their THD handles without plugin support.
@laurynas-biveinis laurynas-biveinis self-assigned this Aug 29, 2016
@laurynas-biveinis laurynas-biveinis merged commit e9084d3 into percona:5.7 Aug 29, 2016
@laurynas-biveinis laurynas-biveinis deleted the bug1617998-5.7 branch August 29, 2016 16:43
satya-bodapati pushed a commit to satya-bodapati/percona-server that referenced this pull request Feb 22, 2019
Summary:
JIRA: https://jira.percona.com/browse/FB8-93

Reference Patch: facebook/mysql-5.6@a2b0c32
Reference Patch: facebook/mysql-5.6@e82ab5a

 Instead of just showing the errno when running SHOW SLAVE STATUS command, also printing the error name so that user won't have misunderstanding
Pull Request resolved: facebook/mysql-5.6#940

Reviewed By: lth

Differential Revision: D13924591

Pulled By: lth

fbshipit-source-id: fafc6a8c18f
inikep pushed a commit to inikep/percona-server that referenced this pull request Apr 23, 2020
Summary:
JIRA: https://jira.percona.com/browse/FB8-93

Reference Patch: facebook/mysql-5.6@a2b0c32
Reference Patch: facebook/mysql-5.6@e82ab5a

 Instead of just showing the errno when running SHOW SLAVE STATUS command, also printing the error name so that user won't have misunderstanding
Pull Request resolved: facebook/mysql-5.6#940

Reviewed By: lth

Differential Revision: D13924591

Pulled By: lth

fbshipit-source-id: 84765f1e7b7
inikep pushed a commit to inikep/percona-server that referenced this pull request Feb 24, 2021
Summary:
JIRA: https://jira.percona.com/browse/FB8-93

Reference Patch: facebook/mysql-5.6@a2b0c32
Reference Patch: facebook/mysql-5.6@e82ab5a

 Instead of just showing the errno when running SHOW SLAVE STATUS command, also printing the error name so that user won't have misunderstanding
Pull Request resolved: facebook/mysql-5.6#940

Reviewed By: lth

Differential Revision: D13924591

Pulled By: lth

fbshipit-source-id: 84765f1e7b7
inikep pushed a commit to inikep/percona-server that referenced this pull request Nov 15, 2021
…ercona#940)

Summary:
JIRA: https://jira.percona.com/browse/FB8-93

Reference Patch: facebook/mysql-5.6@a2b0c32
Reference Patch: facebook/mysql-5.6@e82ab5a

 Instead of just showing the errno when running SHOW SLAVE STATUS command, also printing the error name so that user won't have misunderstanding
Pull Request resolved: facebook/mysql-5.6#940

Reviewed By: lloyd

Differential Revision: D13924591 (facebook/mysql-5.6@e045188)

Pulled By: lth

fbshipit-source-id: 119d4674eca
ldonoso pushed a commit to ldonoso/percona-server that referenced this pull request Mar 15, 2022
…ercona#940)

Summary:
JIRA: https://jira.percona.com/browse/FB8-93

Reference Patch: facebook/mysql-5.6@a2b0c32
Reference Patch: facebook/mysql-5.6@e82ab5a

 Instead of just showing the errno when running SHOW SLAVE STATUS command, also printing the error name so that user won't have misunderstanding
Pull Request resolved: facebook/mysql-5.6#940

Reviewed By: lloyd

Differential Revision: D13924591

Pulled By: lth
ldonoso pushed a commit to ldonoso/percona-server that referenced this pull request Mar 15, 2022
…ercona#940)

Summary:
JIRA: https://jira.percona.com/browse/FB8-93

Reference Patch: facebook/mysql-5.6@a2b0c32
Reference Patch: facebook/mysql-5.6@e82ab5a

 Instead of just showing the errno when running SHOW SLAVE STATUS command, also printing the error name so that user won't have misunderstanding
Pull Request resolved: facebook/mysql-5.6#940

Reviewed By: lloyd

Differential Revision: D13924591

Pulled By: lth
ldonoso pushed a commit to ldonoso/percona-server that referenced this pull request Mar 18, 2022
…ercona#940)

Summary:
JIRA: https://jira.percona.com/browse/FB8-93

Reference Patch: facebook/mysql-5.6@a2b0c32
Reference Patch: facebook/mysql-5.6@e82ab5a

 Instead of just showing the errno when running SHOW SLAVE STATUS command, also printing the error name so that user won't have misunderstanding
Pull Request resolved: facebook/mysql-5.6#940

Reviewed By: lloyd

Differential Revision: D13924591

Pulled By: lth
ldonoso pushed a commit to ldonoso/percona-server that referenced this pull request Apr 12, 2022
…ercona#940)

Summary:
JIRA: https://jira.percona.com/browse/FB8-93

Reference Patch: facebook/mysql-5.6@a2b0c32
Reference Patch: facebook/mysql-5.6@e82ab5a

 Instead of just showing the errno when running SHOW SLAVE STATUS command, also printing the error name so that user won't have misunderstanding
Pull Request resolved: facebook/mysql-5.6#940

Reviewed By: lloyd

Differential Revision: D13924591

Pulled By: lth

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

SHOW SLAVE STATUS shows real error

Summary: In parallel replication SHOW SLAVE STATUS doesn't show the actual error. It actually creates the real error (Slave_reporting_capability::va_report) and set m_last_error right after setting coordinator error so we just need to reverse the order of the two and show the real error in coordinator. Accessing the last error is protected by err_lock and also fallback to previous message in case the error number is 0 and can't be trusted, just in case.

Reviewed By: hermanlee, Pushapgl

Differential Revision: D28925760
inikep added a commit to inikep/percona-server that referenced this pull request Apr 15, 2024
…ercona#940)

Summary:
JIRA: https://jira.percona.com/browse/FB8-93

Reference Patch: facebook/mysql-5.6@a2b0c32
Reference Patch: facebook/mysql-5.6@e82ab5a

 Instead of just showing the errno when running SHOW SLAVE STATUS command, also printing the error name so that user won't have misunderstanding
Pull Request resolved: facebook/mysql-5.6#940

Reviewed By: lloyd

Differential Revision: D13924591

Pulled By: lth

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

SHOW SLAVE STATUS shows real error

Summary: In parallel replication SHOW SLAVE STATUS doesn't show the actual error. It actually creates the real error (Slave_reporting_capability::va_report) and set m_last_error right after setting coordinator error so we just need to reverse the order of the two and show the real error in coordinator. Accessing the last error is protected by err_lock and also fallback to previous message in case the error number is 0 and can't be trusted, just in case.

Reviewed By: hermanlee, Pushapgl

Differential Revision: D28925760
inikep added a commit to inikep/percona-server that referenced this pull request Apr 16, 2024
…ercona#940)

Summary:
JIRA: https://jira.percona.com/browse/FB8-93

Reference Patch: facebook/mysql-5.6@a2b0c32
Reference Patch: facebook/mysql-5.6@e82ab5a

 Instead of just showing the errno when running SHOW SLAVE STATUS command, also printing the error name so that user won't have misunderstanding
Pull Request resolved: facebook/mysql-5.6#940

Reviewed By: lloyd

Differential Revision: D13924591

Pulled By: lth

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

SHOW SLAVE STATUS shows real error

Summary: In parallel replication SHOW SLAVE STATUS doesn't show the actual error. It actually creates the real error (Slave_reporting_capability::va_report) and set m_last_error right after setting coordinator error so we just need to reverse the order of the two and show the real error in coordinator. Accessing the last error is protected by err_lock and also fallback to previous message in case the error number is 0 and can't be trusted, just in case.

Reviewed By: hermanlee, Pushapgl

Differential Revision: D28925760
inikep added a commit to inikep/percona-server that referenced this pull request Apr 17, 2024
…ercona#940)

Summary:
JIRA: https://jira.percona.com/browse/FB8-93

Reference Patch: facebook/mysql-5.6@a2b0c32
Reference Patch: facebook/mysql-5.6@e82ab5a

 Instead of just showing the errno when running SHOW SLAVE STATUS command, also printing the error name so that user won't have misunderstanding
Pull Request resolved: facebook/mysql-5.6#940

Reviewed By: lloyd

Differential Revision: D13924591

Pulled By: lth

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

SHOW SLAVE STATUS shows real error

Summary: In parallel replication SHOW SLAVE STATUS doesn't show the actual error. It actually creates the real error (Slave_reporting_capability::va_report) and set m_last_error right after setting coordinator error so we just need to reverse the order of the two and show the real error in coordinator. Accessing the last error is protected by err_lock and also fallback to previous message in case the error number is 0 and can't be trusted, just in case.

Reviewed By: hermanlee, Pushapgl

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