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

Prevent assert after fcntl() for O_NONBLOCK #4375

Merged
merged 1 commit into from
Nov 3, 2023
Merged

Prevent assert after fcntl() for O_NONBLOCK #4375

merged 1 commit into from
Nov 3, 2023

Conversation

renecannao
Copy link
Contributor

There are several asserts after fcntl() in
MySQL_Thread::create_new_session_and_client_data_stream() . This commit removes the assert after F_SETFL with O_NONBLOCK. This because it is possible that proxysql is already shutting down. The entry in the error log is kept.

There are several asserts after fcntl() in
MySQL_Thread::create_new_session_and_client_data_stream() .
This commit removes the assert after F_SETFL with O_NONBLOCK.
This because it is possible that proxysql is already shutting down.
The entry in the error log is kept.
@mirostauder
Copy link
Collaborator

retest this please

@renecannao renecannao merged commit 2d0c8bf into v2.x Nov 3, 2023
176 of 178 checks passed
@renecannao renecannao deleted the v2.x-231102 branch August 29, 2024 11:19
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