csi-addons / volume-replication-operator

Apache License 2.0
16 stars 23 forks source link

replication: update conditions when resync is done #112

Closed Madhu-1 closed 3 years ago

Madhu-1 commented 3 years ago

updating the conditions as below once the resync is completed and volume can be marked ready to use

status:
    conditions:
    - lastTransitionTime: "2021-09-07T10:23:13Z"
      message: ""
      observedGeneration: 4
      reason: Demoted
      status: "True"
      type: Completed
    - lastTransitionTime: "2021-09-07T10:27:19Z"
      message: ""
      observedGeneration: 4
      reason: Healthy
      status: "False"
      type: Degraded
    - lastTransitionTime: "2021-09-07T10:27:19Z"
      message: ""
      observedGeneration: 4
      reason: NotResyncing
      status: "False"
      type: Resyncing
    lastCompletionTime: "2021-09-07T10:27:19Z"
    lastStartTime: "2021-09-07T09:38:43Z"
    message: volume is marked secondary
    observedGeneration: 4
    state: Secondary

The VR status condition will be

Fixes #101 Signed-off-by: Madhu Rajanna madhupr007@gmail.com

Madhu-1 commented 3 years ago

Adding DNM until we finalize the status changes

Madhu-1 commented 3 years ago

Closing this one as its no longer required.