-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CP-35367: report GC progress by task #524
Conversation
Signed-off-by: Mark Syms <mark.syms@citrix.com>
If it's what I understand, well, that's a very nice feature! Thanks a lot 👍 About the coalesce progress exposed, is it a progress toward the total amount of VDI to coalesce, or a progress in data to coalesce per VDI? |
It's progress on the number of VHD pairs which means it's a bit non-linear as it takes no account of the size of each VHD to coalesce, partly because it doesn't fully have all that information until it comes to actually do that pair. The total number can increase whilst the GC is running if additional snapshots are deleted and so the progress could potentially go backwards as well. |
Okay. Still, it's very interesting and useful. For now, we couldn't know from XO/XAPI perspective if a GC was currently running or not (but we managed to guess when it should be triggered, and prevented doing more snapshot before the chain was fully coalesced see https://xen-orchestra.com/blog/xenserver-coalesce-detection-in-xen-orchestra/). With this, we can also add that a GC is currently running on the SR (or not), so we can display that information in the "Advanced" view of the appropriate SR. We can even probably extrapolate at some point and report problems because a GC is never done after a while, despite the fact the chain should be coalesced. Again, very good idea and feature 👍 edit: some ideas, thinking out loud:
|
Hmmmm, I wonder what my motivation for the change was? ;) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Mark Syms mark.syms@citrix.com