Fix is_replica logic. A node can be in three states, primary, replica, or unassigned. Existing code assumed node is a replica if it was not primary.
Fix is_replica logic.
A node can be in three states, primary, replica, or unassigned.
Existing code assumed node is a replica if it was not primary.

autopilotpattern/mysql,tgross/triton-mysql,tgross/triton-mysql,autopilotpattern/mysql,tgross/triton-mysql