Skip to content

[ Question ] Multiple Runners Managing Job Queue #161

@maggiejiangdev

Description

@maggiejiangdev

Hi,

Trying to understand how multiple workflow runners manage a jobs queue. If both runners happen to pick up a job at the same time, how would one runner yield to another? I understand that when a runner picks up a job, it marks it's name in the runner_id field but if they both pick up the job and try to update the backend at the same time with their respective runner Ids, how would it be handled then?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions