This is an automated email from the ASF dual-hosted git repository.
dahn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/main by this push:
new 4d46bece4a7 fix priority for volume copy operation (#11109)
4d46bece4a7 is described below
commit 4d46bece4a7f2c8e08fa5282ab96f91513670082
Author: shrikantjoshi-hpe <[email protected]>
AuthorDate: Mon Jul 14 11:20:58 2025 +0530
fix priority for volume copy operation (#11109)
---
.../cloudstack/storage/datastore/adapter/primera/PrimeraAdapter.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/plugins/storage/volume/primera/src/main/java/org/apache/cloudstack/storage/datastore/adapter/primera/PrimeraAdapter.java
b/plugins/storage/volume/primera/src/main/java/org/apache/cloudstack/storage/datastore/adapter/primera/PrimeraAdapter.java
index 445799f0c04..036144103b1 100644
---
a/plugins/storage/volume/primera/src/main/java/org/apache/cloudstack/storage/datastore/adapter/primera/PrimeraAdapter.java
+++
b/plugins/storage/volume/primera/src/main/java/org/apache/cloudstack/storage/datastore/adapter/primera/PrimeraAdapter.java
@@ -311,6 +311,7 @@ public class PrimeraAdapter implements ProviderAdapter {
parms.setDestVolume(targetVolumeInfo.getExternalName());
parms.setOnline(false);
+ parms.setPriority(1);
request.setParameters(parms);
PrimeraTaskReference taskref = POST("/volumes/" +
sourceVolumeInfo.getExternalName(), request, new
TypeReference<PrimeraTaskReference>() {});