# Master Thread States

This article documents thread states that are related to [replication](https://mariadb.com/docs/server/ha-and-performance/standard-replication/replication-overview) master threads. These correspond to the `STATE` values listed by the [SHOW PROCESSLIST](https://mariadb.com/docs/server/reference/sql-statements/administrative-sql-statements/show/show-processlist) statement or in the [Information Schema PROCESSLIST Table](https://mariadb.com/docs/server/reference/system-tables/information-schema/information-schema-tables/information-schema-processlist-table) as well as the `PROCESSLIST_STATE` value listed in the [Performance Schema threads Table](https://mariadb.com/docs/server/reference/system-tables/performance-schema/performance-schema-tables/performance-schema-threads-table).

| Value                                                                 | Description                                                                                                                                                                |
| --------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Finished reading one binlog; switching to next binlog                 | After completing one [binary log](https://mariadb.com/docs/server/server-management/server-monitoring-logs/binary-log), the next is being opened for sending to the slave. |
| Master has sent all binlog to slave; waiting for binlog to be updated | All events have been read from the binary logs and sent to the slave. Now waiting for the binary log to be updated with new events.                                        |
| Sending binlog event to slave                                         | An event has been read from the [binary log](https://mariadb.com/docs/server/server-management/server-monitoring-logs/binary-log), and is now being sent to the slave.     |
| Waiting to finalize termination                                       | State that only occurs very briefly while the thread is terminating.                                                                                                       |

<sub>*This page is licensed: CC BY-SA / Gnu FDL*</sub>

{% @marketo/form formId="4316" %}
