---
title: "Comment by Anil Vaitla on \"Updates, Order, & the Binlog\" | Hashnode"
description: "For a long while MySQL only had single threaded replication, so all transactions are applied one at a time in a serial order. This meant ordering and correctnes"
url: "https://hashnode.com/posts/updates-order-and-the-binlog-1/6254b8e26386ed96b050b7a4/comment/625a108652fb7bd53380ddf6"
---

[Discussion](https://hashnode.com/posts/updates-order-and-the-binlog-1/6254b8e26386ed96b050b7a4)

Comment [Updates, Order, & the Binlog](https://hashnode.com/posts/updates-order-and-the-binlog-1/6254b8e26386ed96b050b7a4)

[Anil Vaitla](https://hashnode.com/@avaitla16)

[Apr 16, 2022](https://hashnode.com/posts/updates-order-and-the-binlog-1/6254b8e26386ed96b050b7a4/comment/625a108652fb7bd53380ddf6)

For a long while MySQL only had single threaded replication, so all transactions are applied one at a time in a serial order. This meant ordering and correctness of application works (the data on the replica still matches the data on the primary), then they began to add parallel replication. This causes out of order problems (thread 1 applies before thread 2 leading to either a data mismatch or a conflict). There's some more discussion here about group commit and LOGICAL\_CLOCK replication: [dev.mysql.com/doc/refman/8.0/en/replication-optio…](https://dev.mysql.com/doc/refman/8.0/en/replication-options-replica.html#sysvar_replica_parallel_type)
