mirror of
https://github.com/schoebel/mars
synced 2025-01-21 06:51:17 +00:00
4dafa9467a
The actual primary is decoded in 'actual-*/is-primary' links, while the
target primary is decoded in the 'primary' link. This is not clearly
taken into account in several functions of marsadm. This commit fixes
this problem.
- Added _get_actual_primary() function
- Remove $pri parameter in _primary_res
- Use _get_actual_primary() where actual state should be used
Commits 3e96a5e 578d003 5dccbdc rebased to
|
||
---|---|---|
.. | ||
mars-status | ||
mars-status.8 | ||
marsadm | ||
marsadm.8 |