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-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -2183,10 +2183,16 @@ func (o *ConcurrentTridentOrchestrator) cloneVolume(
2183
2183
returnnil, errors.NotFoundError("backend for source volume %s not found", volConfig.CloneSourceVolume)
2184
2184
}
2185
2185
2186
-
// 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.
2186
+
// Check if the source volume's backend is honored by the target storage class, only if the orchestrator
2187
+
// is not in Docker plugin mode. In Docker plugin mode, the storage class of source and clone volume
// 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.
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
@@ -2290,10 +2290,20 @@ func (o *TridentOrchestrator) cloneVolumeInitial(
2290
2290
returnnil, errors.NotFoundError("source volume not found: %s", volumeConfig.CloneSourceVolume)
2291
2291
}
2292
2292
2293
-
// 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.
2293
+
// Check if the source volume's backend is honored by the target storage class, only if the orchestrator
2294
+
// is not in Docker plugin mode. In Docker plugin mode, the storage class of source and clone volume
returnnil, errors.MismatchedStorageClassError("clone volume %s from source volume %s with different storage classes is not allowed", volumeConfig.Name,
@@ -2531,12 +2541,6 @@ func (o *TridentOrchestrator) cloneVolumeRetry(
2531
2541
returnnil, errors.NotFoundError("source volume not found: %s", cloneConfig.CloneSourceVolume)
2532
2542
}
2533
2543
2534
-
// 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