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

Expiring Workunit protection

    XMLWordPrintable

Details

    • Suggestion
    • Status: Accepted
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Dali, Sasha
    • None
    • Minor

    Description

      In environments where workunits are archived in a very few days, some developers include automatic workunit protection via this ECL:

      #workunit('protect', true);

       

      I can understand the desire to ease finding such workunits when necessary, but it requires manual intervention to undo this protection.  Things may change in Dali that changes the concern, but at this point, the more active workunits in Dali, the more memory used.  I'm wondering about a few alternatives:

      1. Default protection expiry to configured maximum days unless new #workunit('protectDays', xxx); is used, where xxx is 0 (forever) or some other value.
      2. Default protection expiration is unchanged (none), but allow the 'protectDays' value to allow users to set expiration day count.

      I'm imagining this activity, wherein the workunit protection would be disabled for expiring workunits, could be performed by Sasha at the same time as or similar to its deletion of expiring files.

      Given the change to the ECL, other components would be involved, but I'll defer on that.

      Thoughts?  jakesmith, ghalliday, kev77log

      Attachments

        Activity

          People

            jakesmith Jake Smith
            tonymkirk Tony Kirk
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: