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. 03 Jan, 2022 3 commits
  2. 25 Dec, 2021 1 commit
  3. 23 Dec, 2021 3 commits
    • Noel Quiles's avatar
      website: Upgrade deps (#11709) · 6ca15bea
      Noel Quiles authored
      * Update @hashicorp/react-subnav
      
      * Update <Subnav /> & <ProductDownloadsPage />
      6ca15bea
    • Tim Gross's avatar
      task runner: fix goroutine leak in prestart hook (#11741) · 631db25e
      Tim Gross authored
      The task runner prestart hooks take a `joincontext` so they have the
      option to exit early if either of two contexts are canceled: from
      killing the task or client shutdown. Some tasks exit without being
      shutdown from the server, so neither of the joined contexts ever gets
      canceled and we leak the `joincontext` (48 bytes) and its internal
      goroutine. This primarily impacts batch jobs and any task that fails
      or completes early such as non-sidecar prestart lifecycle tasks.
      Cancel the `joincontext` after the prestart call exits to fix the
      leak.
      631db25e
    • Tim Gross's avatar
      deps: upgrade go-getter to 1.5.10 (#11740) · 000354a7
      Tim Gross authored
      The `go-getter` library was updated to 1.5.9 in #11481 to pick up a
      bug fix for automatically unpacking uncompressed tar archives. But
      this version had a regression in git `ref` param behavior and was
      patched in 1.5.10.
      000354a7
  4. 22 Dec, 2021 3 commits
  5. 21 Dec, 2021 3 commits
    • Luiz Aoqui's avatar
    • Shishir's avatar
    • Tim Gross's avatar
      scheduler: fix quadratic performance with spread blocks (#11712) · 2d4e5b8f
      Tim Gross authored
      When the scheduler picks a node for each evaluation, the
      `LimitIterator` provides at most 2 eligible nodes for the
      `MaxScoreIterator` to choose from. This keeps scheduling fast while
      producing acceptable results because the results are binpacked.
      
      Jobs with a `spread` block (or node affinity) remove this limit in
      order to produce correct spread scoring. This means that every
      allocation within a job with a `spread` block is evaluated against
      _all_ eligible nodes. Operators of large clusters have reported that
      jobs with `spread` blocks that are eligible on a large number of nodes
      can take longer than the nack timeout to evaluate (60s). Typical
      evaluations are processed in milliseconds.
      
      In practice, it's not necessary to evaluate every eligible node for
      every allocation on large clusters, because the `RandomIterator` at
      the base of the scheduler stack produces enough variation in each pass
      that the likelihood of an uneven spread is negligible. Note that
      feasibility is checked before the limit, so this only impacts the
      number of _eligible_ nodes available for scoring, not the total number
      of nodes.
      
      This changeset sets the iterator limit for "large" `spread` block and
      node affinity jobs to be equal to the number of desired
      allocations. This brings an example problematic job evaluation down
      from ~3min to ~10s. The included tests ensure that we have acceptable
      spread results across a variety of large cluster topologies.
      2d4e5b8f
  6. 20 Dec, 2021 6 commits
  7. 18 Dec, 2021 7 commits
  8. 17 Dec, 2021 8 commits
  9. 16 Dec, 2021 6 commits