January 2019
Intermediate to advanced
286 pages
7h 41m
English
Group communication is a plugin. One of the key components of a group replication plugin is group communication thread (GCT), which runs in loop when the plugin is loaded. It handles messages from members of the group as well as the plugin, and it is responsible for failure detection tasks, keeping tasks alive, and transaction delivery in and out from/to the server/group. The thread waits for incoming messages in a queue. When there are no messages, the GCT waits.
Use the group_replication_poll_spin_loops option to make the active thread wait. This makes the thread loop; it does nothing relevant for the configured number of loops, before actually polling the queue for the next message:
mysql> SET GLOBAL group_replication_poll_spin_loops ...
Read now
Unlock full access