{"push_id":864494380,"size":3,"distinct_size":3,"ref":"refs/heads/bb-10.0-knielsen","head":"6bf88cdd9d2b77a2e1ac3b11ab8e1d30658f4cb5","before":"f0d49f199fd827c97ca9612ac582af1c0de2abb1","commits":[{"sha":"6d96fab7dd9ce6f384eebc9b73a9128a0b0ca1aa","author":{"email":"4a02e09e830aa883035f8b14748f8f1fdbd72fb8@knielsen-hq.org","name":"Kristian Nielsen"},"message":"MDEV-7818: Deadlock occurring with parallel replication and FTWRL\n\nPreparation patch, moving the GCO wait into a separate function, in\npreparation for adding a separate wait phase for FLUSH TABLES WITH\nREAD LOCK.","distinct":true,"url":"https://api.github.com/repos/MariaDB/server/commits/6d96fab7dd9ce6f384eebc9b73a9128a0b0ca1aa"},{"sha":"ba02550166eb39c0375a6422ecaa4731421250b6","author":{"email":"4a02e09e830aa883035f8b14748f8f1fdbd72fb8@knielsen-hq.org","name":"Kristian Nielsen"},"message":"MDEV-7818: Deadlock occurring with parallel replication and FTWRL\n\nProblem is that FLUSH TABLES WITH READ LOCK first blocks threads from\nstarting new commits, then waits for running commits to complete. But\nin-order parallel replication needs commits to happen in a particular\norder, so this can easily deadlock.\n\nTo fix this problem, this patch introduces a way to temporarily pause\nthe parallel replication worker threads. Before starting FTWRL, we let\nall worker threads complete in-progress transactions, and then\nwait. Then we proceed to take the global read lock. Once the lock is\nobtained, we unpause the worker threads. Now commits are blocked from\nstarting by the global read lock, so the deadlock will no longer occur.","distinct":true,"url":"https://api.github.com/repos/MariaDB/server/commits/ba02550166eb39c0375a6422ecaa4731421250b6"},{"sha":"6bf88cdd9d2b77a2e1ac3b11ab8e1d30658f4cb5","author":{"email":"4a02e09e830aa883035f8b14748f8f1fdbd72fb8@knielsen-hq.org","name":"Kristian Nielsen"},"message":"Merge branch 'mdev7818-4' into bb-10.0-knielsen","distinct":true,"url":"https://api.github.com/repos/MariaDB/server/commits/6bf88cdd9d2b77a2e1ac3b11ab8e1d30658f4cb5"}]}