Skip to content

Commit 456425e

Browse files
author
Maitrayi Sabaratnam
committed
Bug 32164693 REFACTOR NDB_BINLOG_THREAD::DO_RUN() TO INCREASE READABILITY
This patch enhances the readability of the piece of code that reads the user transaction events from the event queue and writes it to binlog in Ndb_binlog_thread::do_run(). It moves out the code doing the following into separate methods: - commit the epoch transaction (empty or regular) to binlog - pass the table map before epoch - initial work done before handling the current epoch - assert that there is consistancy between gci op list and event list - collect the variables used by the commit of an epoch transaction (empty or non-empty) in one place Reviewed by: Martin Skold <Martin.Skold@oracle.com>
1 parent 1236302 commit 456425e

File tree

1 file changed

+237
-226
lines changed

1 file changed

+237
-226
lines changed

0 commit comments

Comments
 (0)