facebook / mysql-5.6

Facebook's branch of the Oracle MySQL database. This includes MyRocks.
http://myrocks.io
Other
2.49k stars 712 forks source link

Fix Oracle bug 107715 (Multiple SE clone not calling clone_end after … #1241

Closed laurynas-biveinis closed 2 years ago

laurynas-biveinis commented 2 years ago

…mixed clone_begin failure/success)

If more than one storage engine is present, clone_begin may succeed for the 1st SE and fail for the 2nd SE, in which a matching clone_end call for the 1st SE will never happen. Fix by adding rollback clone_end calls in the error exit paths of run_hton_clone_begin and hton_clone_begin.

facebook-github-bot commented 2 years ago

@sunshine-Chun has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.