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

Make number of scheduler workers reloadable #11593

Merged
merged 32 commits into from
Jan 6, 2022
Merged

Commits on Nov 20, 2021

  1. Working POC

    angrycub committed Nov 20, 2021
    Configuration menu
    Copy the full SHA
    1908187 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2021

  1. Configuration menu
    Copy the full SHA
    0071e55 View commit details
    Browse the repository at this point in the history
  2. Added some VSCode codetours

    angrycub committed Nov 23, 2021
    Configuration menu
    Copy the full SHA
    763671a View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2021

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

Commits on Dec 1, 2021

  1. Apply suggestions from code review

    Co-authored-by: Derek Strickland <1111455+DerekStrickland@users.noreply.github.com>
    angrycub and DerekStrickland committed Dec 1, 2021
    Configuration menu
    Copy the full SHA
    1a985b3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    22f93b7 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'f-reload-num-schedulers' of github.com:hashicorp/nomad …

    …into f-reload-num-schedulers
    angrycub committed Dec 1, 2021
    Configuration menu
    Copy the full SHA
    16f9dd4 View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2021

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

Commits on Dec 6, 2021

  1. Configuration menu
    Copy the full SHA
    1258128 View commit details
    Browse the repository at this point in the history
  2. Fix linter complaints

    angrycub committed Dec 6, 2021
    Configuration menu
    Copy the full SHA
    1845577 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9c4e5c4 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2021

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

Commits on Dec 10, 2021

  1. Passing enabled schedulers list to worker

    - add mutex for contended server data
        - `workerLock` for the `workers` slice
        - `workerConfigLock` for the `Server.Config.NumSchedulers` and
          `Server.Config.EnabledSchedulers` values
    - add Copy() func for `SchedulerWorkerPoolArgs`
    - refactor NewWorker to allow for creating an unstarted worker for testing
    angrycub committed Dec 10, 2021
    Configuration menu
    Copy the full SHA
    f5bb227 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    292518b View commit details
    Browse the repository at this point in the history
  3. Worker API refactor

    - Start, Pause, Resume, Stop for func names
    - made setPause, shutdown implementing funcs for abobe functions
    - updated tests
    angrycub committed Dec 10, 2021
    Configuration menu
    Copy the full SHA
    1337f04 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bd345e0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    31687cd View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2021

  1. Fix broken Pause logic; split WorkloadWaiting status

    There are two places in the code where the scheduler worker code waits: to dequeue an eval and for a raft index
    angrycub committed Dec 11, 2021
    Configuration menu
    Copy the full SHA
    3739987 View commit details
    Browse the repository at this point in the history
  2. Added scheduler info api

    angrycub committed Dec 11, 2021
    Configuration menu
    Copy the full SHA
    7fe5949 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    60d53fa View commit details
    Browse the repository at this point in the history
  4. bugfixes

    angrycub committed Dec 11, 2021
    Configuration menu
    Copy the full SHA
    3d755aa View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2021

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

Commits on Dec 21, 2021

  1. Configuration menu
    Copy the full SHA
    71dab36 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1dc9f96 View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2021

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

Commits on Dec 23, 2021

  1. Add changelog message

    angrycub committed Dec 23, 2021
    Configuration menu
    Copy the full SHA
    420a158 View commit details
    Browse the repository at this point in the history
  2. typo in changelog 🤦

    angrycub committed Dec 23, 2021
    Configuration menu
    Copy the full SHA
    fd016de View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2022

  1. Configuration menu
    Copy the full SHA
    167c6a3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f4f610b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    689fa77 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2022

  1. Fix test response type

    angrycub committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    982c397 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2022

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