-
Iustin Pop authored
The addition of the offline state for instances has introduced a few bugs related to their handling. The current code adds a helper function for making the check whether an instances uses reserved memory on the secondary (and uses it instead of just autoBalance), and furthermore uses consistently the state for primary node operations. Signed-off-by: Iustin Pop <iustin@google.com> Reviewed-by: René Nussbaumer <rn@google.com>
55bd1414