You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/concurrent_core.go
+9-10Lines changed: 9 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -2349,10 +2349,16 @@ func (o *ConcurrentTridentOrchestrator) cloneVolume(
2349
2349
returnnil, errors.NotFoundError("backend for source volume %s not found", volConfig.CloneSourceVolume)
2350
2350
}
2351
2351
2352
-
// Check if the storage class of source and clone volume is different, only if the orchestrator is not in Docker plugin mode. In Docker plugin mode, the storage class of source and clone volume will be different at times.
2352
+
// Check if the source volume's backend is honored by the target storage class, only if the orchestrator
2353
+
// is not in Docker plugin mode. In Docker plugin mode, the storage class of source and clone volume
Copy file name to clipboardExpand all lines: core/orchestrator_core.go
+13-9Lines changed: 13 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -2374,10 +2374,20 @@ func (o *TridentOrchestrator) cloneVolumeInitial(
2374
2374
returnnil, errors.NotFoundError("source volume not found: %s", volumeConfig.CloneSourceVolume)
2375
2375
}
2376
2376
2377
-
// Check if the storage class of source and clone volume is different, only if the orchestrator is not in Docker plugin mode. In Docker plugin mode, the storage class of source and clone volume will be different.
2377
+
// Check if the source volume's backend is honored by the target storage class, only if the orchestrator
2378
+
// is not in Docker plugin mode. In Docker plugin mode, the storage class of source and clone volume
@@ -2615,12 +2625,6 @@ func (o *TridentOrchestrator) cloneVolumeRetry(
2615
2625
returnnil, errors.NotFoundError("source volume not found: %s", cloneConfig.CloneSourceVolume)
2616
2626
}
2617
2627
2618
-
// Check if the storage class of source and clone volume is different, only if the orchestrator is not in Docker plugin mode. In Docker plugin mode, the storage class of source and clone volume will be different at times.
0 commit comments