I am seeing replication errors on both nodes (show slave status\G;).
The replication was working fine when configured, but seeing error recently.
The IO thread is not running on primary and SQL thread not running on secondary.
The primary node shows Last_IO_error (could not find first log file name in binary log index file) and the secondary node shows Last_SQL_error (duplicate entry when inserting into service_metrics)
What is the best way to resolve these errors.
I am not finding any documentation.