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

[Refactor] Moves worker logic back to SimpleScheduler #1065

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

allada
Copy link
Member

@allada allada commented Jun 28, 2024

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: #359


This change is Reviewable

@allada allada force-pushed the move-worker-back-to-simple-scheduler branch from 64c45ed to c12d1e9 Compare June 28, 2024 23:01
Copy link
Member Author

@allada allada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+@adam-singer

Reviewable status: 0 of 1 LGTMs obtained, and pending CI: Analyze (javascript-typescript), Installation / ubuntu-22.04, Local / ubuntu-22.04, Publish image, asan / ubuntu-22.04, macos-13, pre-commit-checks, ubuntu-20.04 / stable, ubuntu-22.04, vale (waiting on @adam-singer)

@allada allada force-pushed the move-worker-back-to-simple-scheduler branch from c12d1e9 to 335b7e3 Compare June 28, 2024 23:04
Copy link
Member

@adam-singer adam-singer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 2 of 2 files at r1, 10 of 14 files at r2, 4 of 4 files at r3, 4 of 4 files at r5, all commit messages.
Reviewable status: 0 of 1 LGTMs obtained, and pending CI: Analyze (javascript-typescript), pre-commit-checks

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
@allada allada force-pushed the move-worker-back-to-simple-scheduler branch from 335b7e3 to b9d9702 Compare June 29, 2024 00:38
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