• Waiting on cond 

A generic state in which the thread is waiting for a condition to become true. No specific state information is available. 

## 8.14.4 Replication Source Thread States 

• Writing to net 

The server is writing a packet to the network. 

The following list shows the most common states you may see in the State  column for the Binlog Dump  thread of the replication source. If you see no Binlog Dump  threads on a source, this means that replication is not running; that is, that no replicas are currently connected. 

• Finished reading one binlog; switching to next binlog 

The thread has finished reading a binary log file and is opening the next one to send to the replica. 

• Master has sent all binlog to slave; waiting for more updates 

The thread has read all remaining updates from the binary logs and sent them to the replica. The thread is now idle, waiting for new events to appear in the binary log resulting from new updates occurring on the source. 

• Sending binlog event to slave 

Binary logs consist of events , where an event is usually an update plus some other information. The thread has read an event from the binary log and is now sending it to the replica. 

## 8.14.5 Replication I/O Thread States 

• Waiting to finalize termination 

A very brief state that occurs as the thread is stopping. 

The following list shows the most common states you see in the State  column for a replication I/O thread on a replica server. This state also appears in the Replica_IO_State  column displayed by SHOW REPLICA | SLAVE STATUS , so you can get a good view of what is happening by using that statement. 

• Checking master version 

A state that occurs very briefly, after the connection to the source is established. 

• Connecting to master 

The thread is attempting to connect to the source. 

• Queueing master event to the relay log 

The thread has read an event and is copying it to the relay log so that the SQL thread can process it. 

• Reconnecting after a failed binlog dump request 

The thread is trying to reconnect to the source. 

• Reconnecting after a failed master event read 

