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

Critical sections

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0.0
    • Component/s: Language

      Description

      In an 'incrementing' world one often needs to append information to a file taking some element of the original file into account in the append records. The commonest and simplest case is where the file has an autoincrementing key and you wish to number sequentially above that. There are more complex cases where you wish to match to the previous file.

      Assuming the incoming data is gathered periodically it is possible (if not common) for two or more of these incremental update jobs to be inflight at once. For most of the ingest process this is fine - but the particular part where the file is incrementally updated must be done in inside a critical section (or both jobs collide with their updates).

      There is a much rarer case (I've only encountered once - and not the case in hand) where you need to ensure that jobs enter that critical section in the same order that they start.

        Attachments

          Activity

            People

            • Assignee:
              shamser Shamser Ahmed
              Reporter:
              dabayliss David Bayliss
            • Votes:
              0 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: