Skip to content

Commit e1dee9f

Browse files
author
gitlab
committed
Merge branch 'fix/ZSTAC-79709' into '5.5.12'
<fix>[ceph]: apply over-provisioning ratio when releasing snapshot capacity See merge request zstackio/zstack!9162
2 parents be53c72 + a84a36e commit e1dee9f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugin/ceph/src/main/java/org/zstack/storage/ceph/primary/CephPrimaryStorageBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5446,7 +5446,7 @@ private void deleteSnapshotOnPrimaryStorage(final DeleteSnapshotOnPrimaryStorage
54465446
httpCall(DELETE_SNAPSHOT_PATH, cmd, DeleteSnapshotRsp.class, new ReturnValueCompletion<DeleteSnapshotRsp>(msg) {
54475447
@Override
54485448
public void success(DeleteSnapshotRsp returnValue) {
5449-
osdHelper.releaseAvailableCapacity(msg.getSnapshot().getPrimaryStorageInstallPath(), msg.getSnapshot().getSize());
5449+
osdHelper.releaseAvailableCapWithRatio(msg.getSnapshot().getPrimaryStorageInstallPath(), msg.getSnapshot().getSize());
54505450
bus.reply(msg, reply);
54515451
completion.done();
54525452
}

0 commit comments

Comments
 (0)