refresh index eval id in log

This commit is contained in:
Alex Dadgar 2016-06-22 13:48:41 -07:00
parent 2cb2d4e95b
commit 3a8a27bcff
1 changed files with 1 additions and 1 deletions

View File

@ -328,7 +328,7 @@ SUBMIT:
var state scheduler.State
if result.RefreshIndex != 0 {
// Wait for the the raft log to catchup to the evaluation
w.logger.Printf("[DEBUG] worker: refreshing state to index %d", result.RefreshIndex)
w.logger.Printf("[DEBUG] worker: refreshing state to index %d for %q", result.RefreshIndex, plan.EvalID)
if err := w.waitForIndex(result.RefreshIndex, raftSyncLimit); err != nil {
return nil, nil, err
}