Which version supports rollback for bulk copy and is compatible with MySQL?
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
【TiDB Environment】Testing
【TiDB Version】5.7.25-TiDB-v7.1.1
【Reproduction Path】Start a transaction, insert data into table A using INSERT, and then use Bulk Copy to insert data into table B. Without committing the transaction, start another transaction to query both table A and table B.
【Encountered Issue】In the uncommitted state, it was found that data was already written into tables A and B. The transaction using ROLLBACK failed to roll back the changes. Manually deleting the large amount of data would be time-consuming. It is desired to improve the compatibility of Bulk Copy to support rollback functionality.
Which version of bulk copy can be rolled back in the future?
Contributor guide
Assessment
This issue has not been assessed yet.