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
{{ message }}
Repository navigation
Commit 4150e40
Browse filesBrowse the repository at this point in the historyBrowse files
linstor: consider all diskful copies when picking a host
getDiskfulStoragePools only ever returned the storage pool of a single
node, so an endpoint was only looked for on that one node - if its
cloudstack host was down or disabled the operation fell back to a
temporary resource or a diskless attach although other diskful copies
were usable.
Return all diskful storage pools ordered by how suited the copy is (in
use, then active, then inactive) and walk that order when picking a
host. The order matters: thick LVM snapshots on shared storage pools
must be read on the node the volume is active on, so the host selection
no longer shuffles candidates.
Copy file name to clipboardExpand all lines: plugins/storage/volume/linstor/src/main/java/org/apache/cloudstack/storage/datastore/driver/LinstorPrimaryDataStoreDriverImpl.java
Copy file name to clipboardExpand all lines: plugins/storage/volume/linstor/src/main/java/org/apache/cloudstack/storage/datastore/util/LinstorUtil.java
Copy file name to clipboardExpand all lines: plugins/storage/volume/linstor/src/test/java/org/apache/cloudstack/storage/datastore/util/LinstorUtilTest.java
0 commit comments