Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nomad: compare current eval when setting WaitIndex #5381

Merged
merged 4 commits into from
Mar 6, 2019

Commits on Mar 1, 2019

  1. nomad: compare current eval when setting WaitIndex

    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.
    schmichael committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    3fc5765 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2019

  1. Configuration menu
    Copy the full SHA
    b47b1f1 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2019

  1. Update nomad/eval_endpoint.go

    Co-Authored-By: schmichael <michael.schurter@gmail.com>
    dadgar and schmichael committed Mar 5, 2019
    Configuration menu
    Copy the full SHA
    3d8683b View commit details
    Browse the repository at this point in the history
  2. Update nomad/eval_endpoint_test.go

    Co-Authored-By: schmichael <michael.schurter@gmail.com>
    dadgar and schmichael committed Mar 5, 2019
    Configuration menu
    Copy the full SHA
    6c8839a View commit details
    Browse the repository at this point in the history