chrod more clear debug info for committing

pull/820/head
Xiang Li 2013-11-27 00:42:01 -05:00
parent 59cb7259c2
commit 2252dfea4c
1 changed files with 1 additions and 1 deletions

2
log.go
View File

@ -405,7 +405,7 @@ func (l *Log) setCommitIndex(index uint64) error {
// Apply the changes to the state machine and store the error code. // Apply the changes to the state machine and store the error code.
returnValue, err := l.ApplyFunc(command) returnValue, err := l.ApplyFunc(command)
debugln("setCommitIndex.set.result index: ", entryIndex) debugf("setCommitIndex.set.result index: %v entires index: ", i, entryIndex)
l.results[entryIndex] = &logResult{returnValue: returnValue, err: err} l.results[entryIndex] = &logResult{returnValue: returnValue, err: err}
} }
return nil return nil