Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-13910

Metadata of custom entities should be deleted when the parent entity is deleted

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.0.0
    • Fix Version/s: 6.1.0
    • Component/s: Metadata
    • Labels:
    • Rank:
      1|i00fd3:

      Description

      Across integration test runs we noticed that the metadata of custom entities persist even if the parent entity (if one exists) is deleted.

      For know entities we individually delete its containing entities. For example application delete individually delete programs inside the application. This causes the metadata of the individual children to be deleted. Since custom sub entities are not deleted by cdap their metadata is not deleted.

      The consequence of not deleting this is that when the parent entity with same name is recreated these sub entities metadata become confusing.

        Attachments

          Activity

            People

            • Assignee:
              andreas Andreas Neumann
              Reporter:
              rsinha Rohit Sinha
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: