mirror of
https://github.com/schoebel/mars
synced 2025-01-05 13:52:40 +00:00
marsadm: show replication infos only on secondaries
This commit is contained in:
parent
c481f75cb8
commit
8d60cb304c
@ -3464,11 +3464,13 @@ my %complex_macros =
|
||||
. "%if{%>{%-{%disk-size{}}{%resource-size{}}}{%{threshold}}}{"
|
||||
. " Hint: you are wasting %human-numbers{}{ }{ }{%-{%disk-size{}}{%resource-size{}}} on disk %get-disk{}\n"
|
||||
. "}"
|
||||
. "%if{%and{%is-attach{}}{%not{%sync-reached{}}}}{"
|
||||
. "%include{syncinfo}"
|
||||
. "}"
|
||||
. "%if{%and{%is-attach{}}{%not{%work-reached{}}}}{"
|
||||
. "%include{replinfo}"
|
||||
. "%if{%and{%not{%is-primary{}}}{%is-attach{}}}{"
|
||||
. "%if{%not{%sync-reached{}}}{"
|
||||
. "%include{syncinfo}"
|
||||
. "}"
|
||||
. "%if{%not{%work-reached{}}}{"
|
||||
. "%include{replinfo}"
|
||||
. "}"
|
||||
. "}"
|
||||
. "%call{resource-errors}"
|
||||
. "}",
|
||||
|
Loading…
Reference in New Issue
Block a user