Uploaded image for project: 'Pegasus'
  1. Pegasus
  2. PM-652

monitord in replay mode does not expunge correctly for sqlite backend


    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major Major
    • master, 4.2, 4.1.1
    • Affects Version/s: master, 4.1
    • Component/s: Monitord
    • None

      In case of replay mode, an expunge operation needs to happen against the database to remove existing entries for a workflow.

      The expunge operation works correctly for mysql backend but not for sqlite as cascaded deletes are not supported.

      Right now, the database does not get purged fully . hence we see some integrity constraint errors in the logs, that will make repopulation slower. It is not a FATAL error though.

      Instead, in case of sqlite, we should take a backup of the database.

            vahi Karan Vahi
            vahi Karan Vahi
            3 Start watching this issue