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

Removing and adding back the same file within a DFS transaction causes an error

    XMLWordPrintable

Details

    • Regression
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.10.0, 3.10.2, 3.10.4, 3.10.6
    • 4.0, 3.10.8
    • DFS
    • None

    Description

      If within a DFS transaction, a subfile is removed from a superfile and then later added back again, an error is hit:

      > addSubFile: File <subfile> is already a subfile of <superfile>

      The case it was seen in was:

      StartSuperFileTransaction()
      ClearSuperFile('super'); // where 'sub' was a subfile of super
      AddSubFile('super', 'sub');
      FinishSuperFileTransaction();

      This is a regression from 3.8.6 onwards

      Attachments

        Issue Links

          Activity

            People

              jakesmith Jake Smith
              jakesmith Jake Smith
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: