mirror of
https://github.com/kemko/nomad.git
synced 2026-01-05 18:05:42 +03:00
refresh index eval id in log
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user