adjust the transaction execution flow to statisfy marking binlog