Timing issue on Metadata Tags for Newly Created App

Description

There is some timing issue on SYSTEM metadata tags for newly created app. If I publish a pipeline, and after successful creation, if I query for the system tags, I am expecting cdap-data-pipeline to be there, however it is returning empty array.

 

 

The problem is very apparent, because the UI will redirect user immediately to the detail page after they publish the pipeline. However, since the tags metadata API returns empty array, then the UI just shows "No tags found" for the tags. 

Release Notes

None

Activity

Show:

Andreas NeumannFebruary 20, 2019 at 12:28 AM

In 6.0. Metadata changes are asynchronous by design. The fix it to wait a couple of seconds until the metadata shows up. Options:

  • add refresh in UI after a few seconds to make it visible

  • delay the response from app/pipeline deploy in the backend, until the metadata is visible

Duplicate
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Fix versions

Priority

Created February 20, 2019 at 12:05 AM
Updated March 4, 2019 at 11:13 PM
Resolved March 4, 2019 at 11:13 PM