Composition Action Statuses

A composition action initiates the composition of all raw items in a data pool into canonical items. Upon completion of a composition action, Data Hub records a status for the action as a whole.

A composition action can have one of five statuses. The statuses are recorded upon completion of each composition action, and reflect the outcome of the entire action rather than individual items. If only one raw item out of a million fails to successfully compose, you have a composition action status of COMPLETE_W_ERRORS. A complete overview of composition action statuses is provided in the following diagram.

The Complete Composition Action Status Flow

The composition action status changes at the end of all compositions for a given data pool. The active action has an IN_PROGRESS status until it completes. There may also be an action in the queue that has a PENDING status until it becomes the active IN_PROGRESS action.

The status is assigned based on the following order of precedence:

  1. PENDING - A composition action entering the queue is initially given a PENDING status until composition begins. Only one PENDING composition action is recorded per pool.
  2. IN_PROGRESS - Once the composition action begins, it is assigned an IN_PROGRESS status. Only one IN_PROGRESS composition action is recorded per pool.
  3. FAILURE - This status is recorded if there was a problem initiating the publication action.
  4. COMPLETE_W_ERRORS - If the action completes successfully, but certain raw items were not successfully composed, the action status is COMPLETE_W_ERRORS.
  5. SUCCESS - This status is recorded if all raw items included in the pool were successfully composed into canonical items.