Revision 3e3c9393
ID | 3e3c9393e10e7ef67f65fa42c04d8236431346d9 |
Parent | 2849670b |
Child | 2cae47e9 |
Introduce a relaxed add instance mode
In case an instance is living on an offline node, it doesn't make sense
to refuse moving it because that would create N+1 failures; failing N+1
is still much better than not running at all. Similarly, if the
secondary node of an instance is offline, meaning the instance doesn't
have any redundancy, we have a worse case than having a secondary that
is N+1 failing and it could not accept the instance as primary, but it
stil does redundancy for it.
To allow this, we rename Node.addPri to addPriEx and introduce an extra
parameter (addPri is a partial application of addPriEx and keeps the
same signature). Node.addSec gets the same treatement.
Files
- added
- modified
- copied
- renamed
- deleted