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

Fix sleep await duration hang #1121

Commits on Jun 29, 2024

  1. [Refactor] Move scheduler state behind mutex

    In prep to support a distributed/redis scheduler, prepare the state
    interface to no longer take mutable references.
    
    This is a partial PR and should be landed immediately with followup PRs
    that will remove many of the locking in the SimpleScheduler.
    
    towards: TraceMachina#359
    allada committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    7a16e2e View commit details
    Browse the repository at this point in the history
  2. [Refactor] Moves worker logic back to SimpleScheduler

    Worker logic should not be visible to StateManager just yet. In the
    future this will likely change, but for this phase of the refactor
    SimpleScheduler should own all information about workers.
    
    towards: TraceMachina#359
    allada committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    b9d9702 View commit details
    Browse the repository at this point in the history
  3. [Refactor] Move worker notification in SimpleScheduler under Workers

    Moves the logic on when the matching enginge trigger gets run to
    under the workers struct where easy. This splits the logic of
    when a task is changed and matching engine needs to run and when
    a task gets run and the matching engine needs to be run.
    
    towards: TraceMachina#359
    allada committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    34d93b7 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2024

  1. [Refactor] Complete rewrite of SimpleScheduler

    This is a complete rewrite of way the scheduler works internally.
    No changes should be externally visible.
    allada committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    f2cea0c View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2024

  1. QA fixes for scheduler-v2 (TraceMachina#1092)

    Introduces various code quality improvements to scheduler-v2
    which allow bazel test to pass.
    
    Co-authored-by: Zach Birenbaum <zacharyobirenbaum@gmail.com>
    allada and zbirenbaum committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    d70d31d View commit details
    Browse the repository at this point in the history
  2. ActionScheduler will now use ActionListener instead of tokio::watch (T…

    …raceMachina#1091)
    
    This will enable the underlying scheduler to intercept the Drop
    call allowing easier cleanups of actively listened actions.
    allada committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    cfc0cf6 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2024

  1. StateManager can now be notified of noone listeneing (TraceMachina#1093)

    ActionStateResult is now wired up to ActionListener allowing
    it to be notified of Drop calls. This will be used to do client
    operation id cleanups.
    allada committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    0d93671 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d353c30 View commit details
    Browse the repository at this point in the history
  3. Fix worker execution issues (TraceMachina#1114)

    Worker stream now properly terminated on action complete.
    allada committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    6f8c001 View commit details
    Browse the repository at this point in the history
  4. StateManager will now cleanup actions on client disconnect (TraceMach…

    …ina#1107)
    
    StateManager will now properly remove items from the maps if the
    client disconnects after a set amount of time. Currently these
    values are hard codded, but will be easy to transition them to
    use config variables once we design it out.
    allada committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    e95adfc View commit details
    Browse the repository at this point in the history
  5. Remove metrics from new scheduler (TraceMachina#1116)

    In order to make the refactor easier we are removing all metrics.
    
    We will add them back in later.
    allada committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    3070a40 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2024

  1. Remove unused proto field (TraceMachina#1117)

    Removes unused proto field in worker api.
    allada committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    34dea06 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    577785d View commit details
    Browse the repository at this point in the history