refresh index eval id in log

This commit is contained in:
Alex Dadgar
2016-06-22 13:48:41 -07:00
parent 8de18ae309
commit fd615488bf

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
}