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 db61676
Browse filesBrowse the repository at this point in the historyBrowse files
feat(xo-server/backups): set the full listing interval of a repository in its URL
An entry of the VM backups cache is listed in full again an hour after it was built, to bound the
drift from the changes its journal does not record. The hour suits neither a large repository on an
object storage, where each listing reads the metadata of every VM, nor one whose backups are often
changed outside the journal.
The `fullListingInterval` parameter of the URL of a repository now sets this delay, as a duration
(`?fullListingInterval=6h`) or a number of milliseconds, read through `parseDuration()` like the
durations of the configuration. Without it, the delay is still an hour; with an invalid value too, with
a warning, so that a typo does not make the repository unreadable.
It is read when the entry is built: the URL changing already rebuilds the entry, which then reads the
new value.
Copy file name to clipboardExpand all lines: CHANGELOG.unreleased.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@
15
15
-[Tasks] Add link and object resolution to Tasks Overview panel, better text flow for resolved task names (PR [#10265](https://github.com/vatesfr/xen-orchestra/pull/10265))
16
16
-[XO5/Settings/IPs] Show an example of the expected IP format when adding IPs to an IP pool (PR [#10522](https://github.com/vatesfr/xen-orchestra/pull/10522))
17
17
-[BRs] Add backup repository create form (PR [#10271](https://github.com/vatesfr/xen-orchestra/pull/10271))
18
-
-[REST API] SSE now supports the `backup-archive` collection: backups appearing, being merged or disappearing from a backup repository are pushed to the subscribers, instead of each client listing the repositories again to spot them. They are sent as soon as a backup job or a deletion changes a backup repository, and within a couple of minutes for changes made outside this XO; a repository attached to a proxy which has not been updated yet is read every 10 minutes instead. When XO starts, it lists every enabled backup repository and sends the archives they already hold as `add` events; a repository it cannot reach then is sent the next time a client lists it (PR [#10472](https://github.com/vatesfr/xen-orchestra/pull/10472))
18
+
-[REST API] SSE now supports the `backup-archive` collection: backups appearing, being merged or disappearing from a backup repository are pushed to the subscribers, instead of each client listing the repositories again to spot them. They are sent as soon as a backup job or a deletion changes a backup repository, and within a couple of minutes for changes made outside this XO; a repository attached to a proxy which has not been updated yet is read every 10 minutes instead. When XO starts, it lists every enabled backup repository and sends the archives they already hold as `add` events; a repository it cannot reach then is sent the next time a client lists it. Each repository is also listed in full every hour, for the changes its journal does not record; the `fullListingInterval` parameter of its URL changes that delay, e.g. `?fullListingInterval=6h` (PR [#10472](https://github.com/vatesfr/xen-orchestra/pull/10472))
19
19
-[Plugins/load balancer] Added VM-to-host affinity to force VMs to run on a given set of hosts if possible (PR [#10207](https://github.com/vatesfr/xen-orchestra/pull/10207))
20
20
-[Plugins/load balancer] Improved migration decision making (PR [#10207](https://github.com/vatesfr/xen-orchestra/pull/10207))
0 commit comments