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

Critical sections

    XMLWordPrintable

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 6.0.0
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: