-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
SERVER-79010: after we reopen wiredtiger_open, we shold close the old connection #1562
base: master
Are you sure you want to change the base?
SERVER-79010: after we reopen wiredtiger_open, we shold close the old connection #1562
Conversation
Hi @y123456yz thanks for the contribution. I tested this locally, but I got a segmentation fault in the new code. This is what I did:
When |
hi, @louiswilliams I did the test with the 5.0.13 code as you said, it's ok, No problem. thanks. |
I merge the code to 4.2.24, Follow your test procedure, test is ok. |
hi, @louiswilliams if there is a conclusion? |
I am not confident that this works correctly on versions 4.4+. Can you explain what motivated this change and your test setup? |
hi, @louiswilliams the step as following:
all the test is ok. thanks. |
after we reopen wiredtiger_open, we shold close the old connection
if we not close the old open wiredtiger, There will be a Resource leak.