mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-18 12:20:24 +00:00
8c5563a9bc
After Failover of workloads to the secondary cluster when the primary cluster is down, RBD Image is not marked healthy, and VR resources are not promoted to the Primary, In VolumeReplication, the `CURRENT STATE` remains Unknown and doesn't change to Primary. This happens because the primary cluster went down, and we have force promoted the image on the secondary cluster. and the image stays in up+stopping_replay or could be any other states. Currently assumption was that the image will always be `up+stopped`. But the image will be in `up+stopped` only for planned failover and it could be in any other state if its a forced failover. For this reason, removing checkHealthyPrimary from the PromoteVolume RPC call. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com> |
||
---|---|---|
.. | ||
driver | ||
clone.go | ||
controllerserver_test.go | ||
controllerserver.go | ||
diskusage.go | ||
encryption.go | ||
errors.go | ||
globals.go | ||
identityserver.go | ||
migration_test.go | ||
migration.go | ||
mirror.go | ||
nodeserver_test.go | ||
nodeserver.go | ||
rbd_attach_test.go | ||
rbd_attach.go | ||
rbd_healer.go | ||
rbd_journal.go | ||
rbd_util_test.go | ||
rbd_util.go | ||
replicationcontrollerserver_test.go | ||
replicationcontrollerserver.go | ||
snapshot.go |