Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up some raft-related logs and tests #2998

Merged
merged 2 commits into from
Nov 3, 2015

Conversation

bdarnell
Copy link
Contributor

@bdarnell bdarnell commented Nov 3, 2015

Review on Reviewable

@tamird
Copy link
Contributor

tamird commented Nov 3, 2015

LGTM

@@ -1476,7 +1476,9 @@ func (s *Store) processRaft() {
if err != nil {
log.Fatal(err)
}
log.Infof("got an event membership change committed event: %s", cmd.Cmd)
if log.V(6) {
log.Infof("store %s: new committed membership change at inded %d", s, e.Index)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/inded/index/

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually exactly this line is very helpful in debugging #2593 which just resurfaced. Would you mind leaving it in place for now?

bdarnell added a commit that referenced this pull request Nov 3, 2015
Clean up some raft-related logs and tests
@bdarnell bdarnell merged commit d44cf56 into cockroachdb:master Nov 3, 2015
@bdarnell bdarnell deleted the raft-cleanup branch November 3, 2015 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants