meituan / ptubes

Ptubes is a database disaster recovery product based on the PITR (Point In Time Recovery) method, which can be used to restore the entire database to a specific point in time to help users improve the reliability and security of the database
Other
54 stars 11 forks source link

[fix data parsing error]#2 #12

Closed myksl closed 2 years ago

myksl commented 2 years ago

What is the purpose of the change

bug fix https://github.com/meituan/ptubes/issues/2

Brief Changelog

In BinlogContextParser, there are two context variables that should be thread-private, but they are shared during processing, causing concurrency problems. This modification gives them a clone

Verify this change