-
Notifications
You must be signed in to change notification settings - Fork 284
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CA-380551: HA: assert that the HA SR is big enough for BOTH the state…
…file AND the redo log Previously only the statefile size was checked, and available space for the database VDI was only checked during DR in the metadata VDI code, but not during HA in the redolog code. With this change XenCenter is able to grey out SRs that are too small. After this change an HA heartbeat SR will have a physical utilization of `3997171712`, which is as close as we can get to 4GB (the next 4MiB increment would go over 4GB). Signed-off-by: Edwin Török <[email protected]>
- Loading branch information
1 parent
b714a84
commit f387d52
Showing
2 changed files
with
33 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters