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. 18 Apr, 2022 2 commits
  2. 16 Apr, 2022 1 commit
  3. 15 Apr, 2022 9 commits
  4. 14 Apr, 2022 10 commits
  5. 13 Apr, 2022 2 commits
  6. 12 Apr, 2022 5 commits
    • claire labry's avatar
      updates for backport assistant (#12311) · 36c89f61
      claire labry authored
      36c89f61
    • Tim Gross's avatar
      CSI: fix data race in plugin manager (#12553) · 9d5b3bcc
      Tim Gross authored
      The plugin manager for CSI hands out instances of a plugin for callers
      that need to mount a volume. The `MounterForPlugin` method accesses
      the internal instances map without a lock, and can be called
      concurrently from outside the plugin manager's main run-loop.
      
      The original commit for the instances map included a warning that it
      needed to be accessed only from the main loop but that comment was
      unfortunately ignored shortly thereafter, so this bug has existed in
      the code for a couple years without being detected until we ran tests
      with `-race` in #12098. Lesson learned here: comments make for lousy
      enforcement of invariants!
      9d5b3bcc
    • Luiz Aoqui's avatar
    • Tim Gross's avatar
      scripts: fix interpreter for bash (#12549) · 247e20e1
      Tim Gross authored
      Many of our scripts have a non-portable interpreter line for bash and
      use bash-specific variables like `BASH_SOURCE`. Update the interpreter
      line to be portable between various Linuxes and macOS without
      complaint from posix shell users.
      247e20e1
    • Tim Gross's avatar
      E2E: fix flaky event stream test (#12548) · 86ca8f7e
      Tim Gross authored
      This changeset fixes two sources of flakiness in the event stream test.
      
      First, the stream request gets the event *closest* to the index, not
      the exact match. Although events are written before raft entries
      they're written asynchronously, so it's possible to race and get a
      raft index from this query higher than the current head of the event
      buffer. Ensure the job is running before we try to get the index, so
      that we've given the event enough time to land in the buffer.
      
      Second, the assertion that the found index is greater than the start
      index is only true if the `PlanResult` event manages to land before we
      do the second registration. Although it should now with the first fix
      above, it's not a correct assertion for what we're testing.
      86ca8f7e
  7. 11 Apr, 2022 10 commits
  8. 09 Apr, 2022 1 commit