Skip to content

Database cuncurrency problem #2782

@diegocorradini

Description

@diegocorradini

Hi all,

I am developing a pipeline in Django where different workers read/write on a database.
Everything is working fine if I am using only one worker.
Otherwise I get random errors in the tasks like: pop from empty list, EOF detected, database is locked.. depending on the databaes backend.
Yes because I tried with Postgres, MySQL and SQLite..

This is the line where I am configuring the workers:
luigi.build(Workflow(id=session_id)], workers=4)

Any help would be really appreciate since I am stuck with this problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions