Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-1514

JBDS does not completely clean up Teiid PREVIEW VDBs and DataSources

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.0.0.Beta2
    • Fix Version/s: 4.0.0.CR2
    • Component/s: teiid
    • Labels:
      None
    • Environment:

      RHEL 6 (CSB) running on a T510 laptop, 3.7Gb of memory

    • Steps to Reproduce:
      Hide

      Import the attached Teiid Model project (FinancialsDemo.zip) into JBDS. Execute a preview on the BrokerageModel.AccountValue virtual table. This will cause the full 30 Preview vdb's to be deployed. Then exit the modeler and examine the Preview models left on the server (both vdb's and datasources). 14 Preview VDBs seem to be consistently undeleted.

      Show
      Import the attached Teiid Model project (FinancialsDemo.zip) into JBDS. Execute a preview on the BrokerageModel.AccountValue virtual table. This will cause the full 30 Preview vdb's to be deployed. Then exit the modeler and examine the Preview models left on the server (both vdb's and datasources). 14 Preview VDBs seem to be consistently undeleted.

      Description

      When exiting JBDS after using the Teiid Designer perspective to conduct previews of models, those models are not all removed from the server after JBDS is closing. This is with a normal close. An informational window comes up saying "Teiid Server cleanup (30 jobs running)", and 30 Previews is indeed the right number to clean up. However, the clean-up task exits without removing all of them. See attached screenshot. Also, the Preview datasources never seem to be cleaned up, and I would expect that they should be (see the second screenshot).

      I am flagging this as major since there could be a resultant massive accumulation of Previews in the server, especially since many users won't know to look for them to delete them by hand.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  elvisisking Daniel Florian
                  Reporter:
                  chuckm Charles Mosher
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: