Skip to content

Commit

Permalink
Merge pull request cockroachdb#8796 from tschottdorf/raft-err
Browse files Browse the repository at this point in the history
storage: log RangeID on raft error
  • Loading branch information
tbg authored Aug 24, 2016
2 parents 0bd1b6a + 442c0e6 commit 514206e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion storage/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -2413,7 +2413,8 @@ func (s *Store) HandleRaftResponse(ctx context.Context, resp *RaftMessageRespons
}

default:
log.Warningf(ctx, "%s: got error from replica %s: %s", s, resp.FromReplica, val)
log.Warningf(ctx, "%s: got error from range %d, replica %s: %s",
s, resp.RangeID, resp.FromReplica, val)
}

default:
Expand Down

0 comments on commit 514206e

Please sign in to comment.