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

Bug1621012 5.7 #989

Merged
merged 2 commits into from
Sep 8, 2016
Merged

Conversation

laurynas-biveinis
Copy link
Contributor

…ing short-lived detached threads)

Glibc is affected by a bug where a short-lived detached thread, that
manages to complete before the caller thread finishes executing
pthread_create, may crash server. In MySQL, at least the InnoDB full
text parallel merge threads might be short-lived enough to hit this.

Implement a workaround to join these threads instead of detaching
them.
@percona-ysorokin
Copy link
Collaborator

LGTM

@laurynas-biveinis laurynas-biveinis merged commit 0fce436 into percona:5.7 Sep 8, 2016
@laurynas-biveinis laurynas-biveinis deleted the bug1621012-5.7 branch September 8, 2016 12:45
inikep added a commit to inikep/percona-server that referenced this pull request Apr 23, 2020
Summary:
Jira issue: https://jira.percona.com/browse/FB8-46

Reference Patch: facebook/mysql-5.6@f2d6fdc

With additional improvements:
1. Variables moved from global to session from facebook/mysql-5.6@459f669
2. Added time tracking for "sp_instr_stmt::exec_core", "mysql_open_cursor", "Execute_sql_statement::execute_server_code" and "Prepared_statement::execute" from facebook/mysql-5.6@4554e16

Adds command, slave_command, pre-exec, parse, and execution timers.

This ports these timers from v5.1 to 5.6, using the new timers.

I also added an mtr test to confirm they are at least partly working.

Originally Reviewed By: chip
Pull Request resolved: facebook/mysql-5.6#989

Test Plan: Jenkins.  All tests, including the new one, pass.

Reviewed By: yizhang82

Differential Revision: D14883715

Pulled By: yizhang82

fbshipit-source-id: 7e8f75d7d7b
inikep added a commit to inikep/percona-server that referenced this pull request Feb 24, 2021
Summary:
Jira issue: https://jira.percona.com/browse/FB8-46

Reference Patch: facebook/mysql-5.6@f2d6fdc

With additional improvements:
1. Variables moved from global to session from facebook/mysql-5.6@459f669
2. Added time tracking for "sp_instr_stmt::exec_core", "mysql_open_cursor", "Execute_sql_statement::execute_server_code" and "Prepared_statement::execute" from facebook/mysql-5.6@4554e16

Adds command, slave_command, pre-exec, parse, and execution timers.

This ports these timers from v5.1 to 5.6, using the new timers.

I also added an mtr test to confirm they are at least partly working.

Originally Reviewed By: chip
Pull Request resolved: facebook/mysql-5.6#989

Test Plan: Jenkins.  All tests, including the new one, pass.

Reviewed By: yizhang82

Differential Revision: D14883715

Pulled By: yizhang82

fbshipit-source-id: 7e8f75d7d7b
inikep added a commit to inikep/percona-server that referenced this pull request Nov 15, 2021
)

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

Reference Patch: facebook/mysql-5.6@f2d6fdc

With additional improvements:
1. Variables moved from global to session from facebook/mysql-5.6@459f669
2. Added time tracking for "sp_instr_stmt::exec_core", "mysql_open_cursor", "Execute_sql_statement::execute_server_code" and "Prepared_statement::execute" from facebook/mysql-5.6@4554e16

Adds command, slave_command, pre-exec, parse, and execution timers.

This ports these timers from v5.1 to 5.6, using the new timers.

I also added an mtr test to confirm they are at least partly working.

Originally Reviewed By: chip
Pull Request resolved: facebook/mysql-5.6#989

Differential Revision: D14883715 (facebook/mysql-5.6@8f0ffc0)

Pulled By: yizhang82

fbshipit-source-id: e39699e203a
ldonoso pushed a commit to ldonoso/percona-server that referenced this pull request Mar 15, 2022
)

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

Reference Patch: facebook/mysql-5.6@f2d6fdc

With additional improvements:
1. Variables moved from global to session from facebook/mysql-5.6@459f669
2. Added time tracking for "sp_instr_stmt::exec_core", "mysql_open_cursor", "Execute_sql_statement::execute_server_code" and "Prepared_statement::execute" from facebook/mysql-5.6@4554e16

Adds command, slave_command, pre-exec, parse, and execution timers.

This ports these timers from v5.1 to 5.6, using the new timers.

I also added an mtr test to confirm they are at least partly working.

Originally Reviewed By: chip
Pull Request resolved: facebook/mysql-5.6#989

Differential Revision: D14883715

Pulled By: yizhang82
ldonoso pushed a commit to ldonoso/percona-server that referenced this pull request Mar 15, 2022
)

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

Reference Patch: facebook/mysql-5.6@f2d6fdc

With additional improvements:
1. Variables moved from global to session from facebook/mysql-5.6@459f669
2. Added time tracking for "sp_instr_stmt::exec_core", "mysql_open_cursor", "Execute_sql_statement::execute_server_code" and "Prepared_statement::execute" from facebook/mysql-5.6@4554e16

Adds command, slave_command, pre-exec, parse, and execution timers.

This ports these timers from v5.1 to 5.6, using the new timers.

I also added an mtr test to confirm they are at least partly working.

Originally Reviewed By: chip
Pull Request resolved: facebook/mysql-5.6#989

Differential Revision: D14883715

Pulled By: yizhang82
ldonoso pushed a commit to ldonoso/percona-server that referenced this pull request Mar 18, 2022
)

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

Reference Patch: facebook/mysql-5.6@f2d6fdc

With additional improvements:
1. Variables moved from global to session from facebook/mysql-5.6@459f669
2. Added time tracking for "sp_instr_stmt::exec_core", "mysql_open_cursor", "Execute_sql_statement::execute_server_code" and "Prepared_statement::execute" from facebook/mysql-5.6@4554e16

Adds command, slave_command, pre-exec, parse, and execution timers.

This ports these timers from v5.1 to 5.6, using the new timers.

I also added an mtr test to confirm they are at least partly working.

Originally Reviewed By: chip
Pull Request resolved: facebook/mysql-5.6#989

Differential Revision: D14883715

Pulled By: yizhang82
ldonoso pushed a commit to ldonoso/percona-server that referenced this pull request Apr 12, 2022
)

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

Reference Patch: facebook/mysql-5.6@f2d6fdc

With additional improvements:
1. Variables moved from global to session from facebook/mysql-5.6@459f669
2. Added time tracking for "sp_instr_stmt::exec_core", "mysql_open_cursor", "Execute_sql_statement::execute_server_code" and "Prepared_statement::execute" from facebook/mysql-5.6@4554e16

Adds command, slave_command, pre-exec, parse, and execution timers.

This ports these timers from v5.1 to 5.6, using the new timers.

I also added an mtr test to confirm they are at least partly working.

Originally Reviewed By: chip
Pull Request resolved: facebook/mysql-5.6#989

Differential Revision: D14883715

Pulled By: yizhang82
inikep added a commit to inikep/percona-server that referenced this pull request Apr 17, 2024
)

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

Reference Patch: facebook/mysql-5.6@f2d6fdc

With additional improvements:
1. Variables moved from global to session from facebook/mysql-5.6@459f669
2. Added time tracking for "sp_instr_stmt::exec_core", "mysql_open_cursor", "Execute_sql_statement::execute_server_code" and "Prepared_statement::execute" from facebook/mysql-5.6@4554e16

Adds command, slave_command, pre-exec, parse, and execution timers.

This ports these timers from v5.1 to 5.6, using the new timers.

I also added an mtr test to confirm they are at least partly working.

Originally Reviewed By: chip
Pull Request resolved: facebook/mysql-5.6#989

Differential Revision: D14883715

Pulled By: yizhang82
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