[New release] mysql/mysql-server mysql-8.4.13
- Published:
- Fetched:
- Affects:
- mysql mysql-server
https://github.com/mysql/mysql-server/releases/tag/mysql-8.4.13 ↗
Bug#39971459 Members of one Group Replication group assign different … …GNOs to the same transaction Description: ------------ Members of one Group Replication group can assign different GNOs to the same transaction during a rolling restart under sustained write load. Analysis: ------------ A locally reserved synode carries the member's node index. The proposer may suspend while reserving the synode or waiting for its Paxos cache entry. If a view change renumbers the member during that interval, the reservation retains the old node index and can refer to a slot that now belongs to another member. Fix: ---- After waiting for the Paxos cache entry, revalidate locally allocated reservations against the local node index in the view applicable to the reserved synode. Retry stale reservations through retry_new while retaining the client message. Treat removal of the local member from that view as invalidating its reservation as well. Add XCom unit tests covering reservation ownership across view changes that renumber or remove the local member. The original fix was contributed by Matias Sanchez through #736 . Thanks to Matias Sanchez for the contribution. Change-Id: I94a1f31f876e95ebea0ebfe0fb97b4db5232cafb