As of now, we have one field (State) in the status of volume replication CR which shows the state as replicating/Failed/Resyncing. But it does not tell us the actual state of the VR. We need one more field which tells us about the actual state of the Image at the backend. Adding one more field will give the user more clarity about the actual state in those scenarios when the user has edited the CR.
For example:
- User has created a CR as Image State
Primary. We will mark the State as replicating until reconcile failed.
- User has edited the CR to change the image state as
Secondary and reconcile failed we are going to mark the state as Failed. In this case, it is difficult for the user to know the state when he edits the CR many times.