Skip to content

Commit

Permalink
fix(@xen-orchestra/xapi): use callAsync for VDI_listChangedBlocks (#8120
Browse files Browse the repository at this point in the history
)
  • Loading branch information
fbeauchamp authored Nov 12, 2024
1 parent c7ddf33 commit ce16eb5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion @xen-orchestra/xapi/vdi.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class Vdi {
* in the raw vdi has changed
*/
async listChangedBlock(ref, baseRef) {
const encoded = await this.call('VDI.list_changed_blocks', baseRef, ref)
const encoded = await this.callAsync('VDI.list_changed_blocks', baseRef, ref)
return Buffer.from(encoded, 'base64')
}

Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

> Users must be able to say: “I had this issue, happy to know it's fixed”
- [Backup/CBT] use asynchronous method to list changed block, reducing the number of fall back to full backup

### Packages to release

> When modifying a package, add it here with its release type.
Expand All @@ -36,5 +38,6 @@
- @xen-orchestra/log minor
- @xen-orchestra/web patch
- @xen-orchestra/web-core minor
- @xen-orchestra/xapi patch

<!--packages-end-->

0 comments on commit ce16eb5

Please sign in to comment.