ceph-csi/internal
Madhu Rajanna c41bf37b95 rbd: check local image state for resyncing
below are the local states of the mirrored image

"unknown"  -> If the image is in an error state
means data is completely synced
"error" -> If the image is in an error state
means it needs resync
"syncing"
"starting_replay"
"replaying"
"stopping_replay"
"stopped"

If the resync is successfully started which
means the image will be in "replaying" state.
we can consider "replaying" state to report
resync succesfully going on state.

we are discarding the intermediate states like
"syncing", "starting_replay" and "stopping_replay".

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 1fd2f28fee)
2021-10-27 04:25:04 +00:00
..
cephfs util: modify GetMonsAndClusterID() to take clusterID instead of options 2021-09-14 12:56:12 +00:00
controller rbd: refractor RegenerateJournal() to take in volumeAttributes 2021-08-11 09:50:10 +00:00
csi-common cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00
journal cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00
liveness cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00
rbd rbd: check local image state for resyncing 2021-10-27 04:25:04 +00:00
util util: modify GetMonsAndClusterID() to take clusterID instead of options 2021-09-14 12:56:12 +00:00