Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-24472

CLockedWorkUnit destructor may throw exception

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Not specified
    • Resolution: Fixed
    • None
    • 7.12.12
    • EclAgent
    • None

    Description

      Code using CLockedWorkUnit assumes that the destructor can throw an exception. This needs to be reviewed, because for C++11 onwards this causes the program to terminate.

      In particular, EclAgent has a function updateWorkunit(). Some methods rely on the destructor to commit changes to the workunit in Dali, rather than by calling commit().

      (The CLockedWorkUnit destructor is making a call to _unlockRemote() defined in CDaliWorkUnit.)

      Attachments

        Issue Links

          Activity

            People

              richardkchapman Richard Chapman
              Nathan Halliday Nathan Halliday
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: