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

k8s: convenience script for running MW jobs #829

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

tarrow
Copy link
Contributor

@tarrow tarrow commented Mar 31, 2023

No description provided.

@m90
Copy link
Member

m90 commented Apr 3, 2023

Could/should this be a part of runAllMWJobs itself?

@tarrow
Copy link
Contributor Author

tarrow commented Apr 3, 2023

Very possibly; in reality I just wanted my rough hack I ran locally to be represented somewhere within git. The key question I guess is where should the actual blocking on job completion logic really be.

In general this is actually not a great paradigm for these distributed systems; when a job fails this leaves this script hanging on some developers laptop. Also if the developer's laptop falls asleep we lose the state etc. .

In reality we probably want something more like: jobs are submitted, one for each wiki, they are however only scheduled with a given concurrency.

Thinking out loud there are really two uses cases: wanting to flush a specific wiki after something specific happens or wanting to flush all wikis.

Finally this job should really not exist at all since no manual operator should ever really be doing this. Instead we should resolve https://phabricator.wikimedia.org/T330389 so that there is never a backlog of jobs

@m90
Copy link
Member

m90 commented Jul 13, 2023

Shall we close this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants