• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

xapi-project / xen-api / 23043022363 / 1
80%
master: 80%

Build:
Build:
LAST BUILD BRANCH: private/dbuica/26.1-lcm-backport
DEFAULT BRANCH: master
Ran 13 Mar 2026 08:46AM UTC
Files 34
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Mar 2026 08:31AM UTC coverage: 80.459%. Remained the same
23043022363.1

push

github

web-flow
xapi-cli-server: stop using SR records for cross pool migrations  (#6905)

SR records have variant fields that add new variants when storage
features are added, as is the case with current_operations.
This means that fetching records from remote pool cause deserialization
exceptions when their records contain newer, unknown variants when using
OCaml-based clients.

xe uses SR records to minimize remote calls to select the SR with the
largest amount of free space during cross-pool migrations.

Change xe to use expressions for filtering SRs and minimize the amount
of calls done.
This means that now PBD records are fetched, but these don't contain any
variants, and have been unchanged since early 2008.

Now the amount of calls have changed from 1 per host-attached PBD to 2,
but the amount of calls can be limited to shared SRs, if there are any.

This is a prerequisite to reintroduce this change:
https://github.com/xapi-project/xen-api/commit/723a4983a#diff-22f9f03f3c8927d260d798c47eacbc9ceR29,
which is needed to be able to add new SR operations, like VDI_revert.

- [x] Manually tested the change with added logging, to view how the
preferred (local) SR is selected.

3504 of 4355 relevant lines covered (80.46%)

0.8 hits per line

Source Files on job python3.11 - 23043022363.1
  • Tree
  • List 34
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 23043022363
  • 51a78a6f on github
  • Prev Job for on 26.1-lcm (#22956301660.1)
  • Next Job for on 26.1-lcm (#23201787910.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc