This project is mirrored from https://gitee.com/mirrors/nomad.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
  1. 21 Mar, 2019 1 commit
  2. 20 Mar, 2019 1 commit
  3. 19 Mar, 2019 2 commits
  4. 18 Mar, 2019 1 commit
  5. 16 Mar, 2019 1 commit
  6. 12 Mar, 2019 3 commits
  7. 11 Mar, 2019 2 commits
  8. 08 Mar, 2019 2 commits
  9. 07 Mar, 2019 3 commits
  10. 06 Mar, 2019 6 commits
  11. 05 Mar, 2019 4 commits
  12. 04 Mar, 2019 7 commits
  13. 01 Mar, 2019 3 commits
    • Michael Schurter's avatar
      nomad: compare current eval when setting WaitIndex · 3fc57654
      Michael Schurter authored
      Consider currently dequeued Evaluation's ModifyIndex when determining
      its WaitIndex. Normally the Evaluation itself would already be in the
      state store snapshot used to determine the WaitIndex. However, since the FSM
      applies Raft messages to the state store concurrently with Dequeueing,
      it's possible the currently dequeued Evaluation won't yet exist in the
      state store snapshot used by JobsForEval.
      
      This can be solved by always considering the current eval's modify index
      and using it if it is greater than all of the evals returned by the
      state store.
      3fc57654
    • Michael Schurter's avatar
      client: ensure task is cleaned up when terminal · db9daf66
      Michael Schurter authored
      This commit is a significant change. TR.Run is now always executed, even
      for terminal allocations. This was changed to allow TR.Run to cleanup
      (run stop hooks) if a handle was recovered.
      
      This is intended to handle the case of Nomad receiving a
      DesiredStatus=Stop allocation update, persisting it, but crashing before
      stopping AR/TR.
      
      The commit also renames task runner hook data as it was very easy to
      accidently set state on Requests instead of Responses using the old
      field names.
      db9daf66
    • Iskander (Alex) Sharipov's avatar
      drivers/shared/executor: fix strings.Replace call · 7cf58d08
      Iskander (Alex) Sharipov authored
      
      strings.Replace call with n=0 argument makes no sense
      as it will do nothing. Probably -1 is intended.
      Signed-off-by: default avatarIskander Sharipov <quasilyte@gmail.com>
      7cf58d08
  14. 28 Feb, 2019 4 commits