Skip to content

Support canceling a submission #43

Description

@Qqwy

Right now, it is not possible to cancel an ongoing submission from the Producer side.

Also from inside a Consumer, it is (only) currently possible to intentionally fail the same chunk over and over again. That will fail that particular chunk and as a result the full submission. But intentional cancellation is actually an 'OK' state rather than a 'failure' state.

So goal of this issue is:

  • Implement the logic to cancel a submission. I think the cleanest approach would be to introduce a new submission status (besides 'in progress', 'completed' and 'failed') for this. You can probably in big part base that logic on the current logic that fails a submission, except that this new kind of failure should be conveyed to the user as 'happy' rather than 'something is broken'.
  • Add a new API call on the Producer side to cancel a submission

Activity

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions