Skip to content

Incomplete block of responses with ERROR #22

@boris-kolpackov

Description

@boris-kolpackov

Is it legal to send a block of responses that is shorter than the block of requests provided the last response is ERROR? This line from the documentation would suggest that it's not:

The compiler sends a block of one or more requests to the builder, then waits for a block of responses to all of those requests.

On the other hand, it's not always clear what sensible thing a mapper could respond with to the subsequent requests (other than maybe duplicating the same ERROR for all of them). Perhaps this should be relaxed to allow an incomplete response block provided the last one is an ERROR? If that causes an undue complexity, then we could further restrict this case by requiring that such an ERROR be the last response (i.e., followed by EOF).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions