ceph-csi/internal/rbd
Madhu Rajanna a5a8952716 rbd: fix clone problem
This commit fixes a bug in checkCloneImage() which was caused
by checking cloned image before checking on temp-clone image snap
in a subsequent request which lead to stale images. This was solved
by checking temp-clone image snap and flattening temp-clone if
needed.
This commit also fixes comparison bug in flattenCloneImage().

Signed-off-by: Rakshith R <rar@redhat.com>
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2021-08-09 07:28:43 +00:00
..
clone.go rbd: fix clone problem 2021-08-09 07:28:43 +00:00
controllerserver_test.go cleanup: resolve parallel test issue 2021-07-13 11:31:39 +00:00
controllerserver.go rbd: fix vol.VolID in cloneFromSnapshot() 2021-08-09 07:28:43 +00:00
driver.go cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00
encryption.go rbd: rename encryption metadata keys to enable mirroring 2021-07-26 11:49:56 +00:00
errors.go rbd: correct the code comment for ErrFlattenInProgress 2020-10-20 08:59:25 +00:00
identityserver.go internal: reformat long lines in internal/rbd package to 120 chars 2021-06-28 14:43:49 +00:00
mirror.go rbd: use go-ceph for getImageMirroringStatus 2021-07-26 06:37:40 +00:00
nodeserver_test.go cleanup: addresses paralleltest linter 2021-06-25 11:55:12 +00:00
nodeserver.go rbd: add support to expand encrypted volume 2021-07-23 10:00:23 +00:00
rbd_attach.go cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00
rbd_healer.go cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00
rbd_journal.go rbd: fix clone problem 2021-08-09 07:28:43 +00:00
rbd_util_test.go rbd: read clusterID and PoolID from mapping 2021-08-05 16:07:51 +00:00
rbd_util.go rbd: read clusterID and PoolID from mapping 2021-08-05 16:07:51 +00:00
replicationcontrollerserver_test.go cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00
replicationcontrollerserver.go rbd: log LastUpdate in UTC format 2021-08-06 10:18:51 +00:00
snapshot.go cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00