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

Update RedisStateManager to use revised API #1097

Closed

Conversation

zbirenbaum
Copy link
Member

@zbirenbaum zbirenbaum commented Jul 7, 2024

Description

Compatibility changes for RedisStateManager to integrate with scheduler
overhaul.

Type of change

Please delete options that aren't relevant.

  • refactor

How Has This Been Tested?

N/A

Checklist

  • Updated documentation if needed
  • Tests added/amended
  • bazel test //... passes locally
  • PR is contained in a single commit, using git amend see some docs

This change is Reviewable

allada and others added 7 commits June 28, 2024 19:35
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
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
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
This is a complete rewrite of way the scheduler works internally.
No changes should be externally visible.
Introduces various code quality improvements to scheduler-v2
which allow bazel test to pass.

Co-authored-by: Zach Birenbaum <[email protected]>
…raceMachina#1091)

This will enable the underlying scheduler to intercept the Drop
call allowing easier cleanups of actively listened actions.
Compatibility changes for RedisStateManager to integrate with scheduler
overhaul.
@allada allada force-pushed the dev branch 4 times, most recently from f103f63 to 2954bfa Compare July 16, 2024 20:50
@allada allada deleted the branch TraceMachina:dev July 17, 2024 16:13
@allada allada closed this Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants