Skip to content

Add a UNIQUE(task_id, aggregate_share_id) constraint to the aggregate_share_jobs table. #4768

Description

@jcjones

Perhaps a real fix would be to add a UNIQUE(task_id, aggregate_share_id) constraint to the aggregate_share_jobs table.

Originally posted by @jcjones in #4766 (comment)

DAP-19 (4.6.4. Obtaining Aggregate Shares) says:

A Helper aggregate share is identified by a server-selected
identifier, unique within the scope of the task, assigned during
resource creation (Section 3.2).

So we should enforce that.

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