zettadb / kunlun-storage-081809

Kunlun-storage is the storage component for Kunlun distributed DBMS. It's developed based on percona-mysql-8.0.x and contains exclusive features used by Kunlun distributed DBMS, performance enhancements and XA transaction crash safety enhancements without which MySQL would not be able to execute XA transactions reliably.
Other
31 stars 6 forks source link

XA COMMIT ONE PHASE self-blocks at rotation #6

Open jd-zhang opened 3 years ago

jd-zhang commented 3 years ago

Issue migrated from trac ticket # 140

component: kunlun-storage | priority: major | keywords: binlog;XA COMMIT ONE PHASE;rotation

2021-08-19 09:51:12: @david-zhao created the issue


This issue only exists in open source version of kunlun-storage.

If binlog rotation is initiated by a XA COMMIT ONE PHASE transaction commit, the worker thread blocks itself.

This is caused by two fixes which make sure XA COMMIT ONE PHASE txns are crash safe. Such fixes are correct but not sufficient --- we have to avoid doing rotation at XA COMMIT ONE PHASE commits.

jd-zhang commented 3 years ago

2021-08-19 16:28:00: @david-zhao commented


fixed and committed at revision 00f1eba3c249ead8b189c7cbe9ed7b9daf4b75c1 of github repo: https://github.com/zettadb/kunlun-storage

jd-zhang commented 3 years ago

2021-08-19 16:28:00: @david-zhao changed status from assigned to accepted