Skip to content
This repository was archived by the owner on Jul 3, 2023. It is now read-only.
This repository was archived by the owner on Jul 3, 2023. It is now read-only.

Compiler failures hangs python API #377

Open

Description

@lalithsuresh

I noticed the create_demo_projects.sh script was stuck without any feedback on stdout during some Docker builds. Digging deeper, I noticed this in the manager logs (can happen due to a lot of docker builds):

[2023-04-17T19:26:46Z ERROR dbsp_pipeline_manager::compiler] compiler task failed; error: 'error returned from database: (code: 13) database or disk is full'

This error however doesn't cause the client to exit from the looks of it (demo-name/run.py seemed to be stuck in project.compile()).

It looks the default timeout is to wait practically forever for the compilation to finish (sys.maxsize):

class DBSPProject:
...
    def compile(self, *, timeout: float = sys.maxsize):

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions