mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-15 16:00:23 +00:00
PT-2298 pt-galera-log-explainer superfluous lines on conflicts
This commit is contained in:
@@ -92,9 +92,11 @@ var ApplicativeMap = types.RegexMap{
|
||||
|
||||
return logCtx, func(logCtx types.LogCtx) string {
|
||||
|
||||
for _, name := range logCtx.OwnNames {
|
||||
vote, ok := latestConflict.VotePerNode[name]
|
||||
if !ok {
|
||||
for _, localname := range logCtx.OwnNames {
|
||||
vote, ok := latestConflict.VotePerNode[localname]
|
||||
// don't print other nodes vote, their should be in their own column
|
||||
// else it just takes too much place without adding much usability
|
||||
if node != localname || !ok {
|
||||
continue
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user