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. 30 Jun, 2022 2 commits
  2. 29 Jun, 2022 2 commits
  3. 28 Jun, 2022 4 commits
  4. 27 Jun, 2022 6 commits
  5. 26 Jun, 2022 2 commits
  6. 25 Jun, 2022 2 commits
  7. 24 Jun, 2022 3 commits
  8. 23 Jun, 2022 2 commits
    • Tim Gross's avatar
      fix deadlock in plan_apply (#13407) · 0213a36e
      Tim Gross authored
      The plan applier has to get a snapshot with a minimum index for the
      plan it's working on in order to ensure consistency. Under heavy raft
      loads, we can exceed the timeout. When this happens, we hit a bug
      where the plan applier blocks waiting on the `indexCh` forever, and
      all schedulers will block in `Plan.Submit`.
      
      Closing the `indexCh` when the `asyncPlanWait` is done with it will
      prevent the deadlock without impacting correctness of the previous
      snapshot index.
      
      This changeset includes the a PoC failing test that works by injecting
      a large timeout into the state store. We need to turn this into a test
      we can run normally without breaking the state store before we can
      merge this PR.
      
      Increase `snapshotMinIndex` timeout to 10s.
      This timeout creates backpressure where any concurrent `Plan.Submit`
      RPCs will block waiting for results. This sheds load across all
      servers and gives raft some CPU to catch up, because schedulers won't
      dequeue more work while ...
      0213a36e
    • Seth Hoenig's avatar
      core: remove support for raft protocol version 2 · f1cafd07
      Seth Hoenig authored
      This PR checks server config for raft_protocol, which must now
      be set to 3 or unset (0). When unset, version 3 is used as the
      default.
      f1cafd07
  9. 22 Jun, 2022 2 commits
  10. 21 Jun, 2022 3 commits
  11. 20 Jun, 2022 2 commits
  12. 17 Jun, 2022 1 commit
  13. 16 Jun, 2022 5 commits
  14. 15 Jun, 2022 1 commit
  15. 14 Jun, 2022 3 commits