Skip to content

Add Error propagation/handle mechanism for PrototypeMultiprocessingReadingService  #969

@ejguan

Description

@ejguan

🚀 The feature

Currently, if any Error happens in the sub-process, the child process would just exits without passing Error message back to the main process. And, the data pipeline in the main process will continue without proper exit.
In order to achieve this feature, we need to do the following step:

  • Add a way to pass Error message
  • Handle Error
    • Properly exit other worker process when one worker sends Error message to main process
    • Properly exit worker processes when the Error comes from the dispatching process, then exit main process

Motivation, pitch

Increase reliability of DataLoader with PrototypeMultiprocessingReadingService

Alternatives

No response

Additional context

No response

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