|
Ran
|
Jobs
1
|
Files
34
|
Run time
1min
|
Badge
README BADGES
|
push
github
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
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | python3.11 - 23043022363.1 | 34 |
80.46 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|