Uploaded image for project: 'Copy Handler'
  1. Copy Handler
  2. CH-223

Enforcing ordering of tasks' execution with prescanning and fast move enabled

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.40rc2
    • Component/s: engine
    • Labels:
      None

      Description

      In current 1.40 architecture there was optimization added to fast-move directories/files before scanning their content.
      This however broke the ordering of tasks' execution as the fastmove-able tasks are executed out of order with "Read tasks size before blocking" option set to Yes. That causes problems for some specific scenarios that performs a copy and then move of the same data (move is completed before copying finishes).
      There are several solutions here to consider:
      1. Add option to disable fast-move (fastest to implement, not really good in the long run as we lose the optimization).
      2. Exclude fast-move from the "before blocking" phase of task processing. This will enforce ordering, but will unnecessarily scan for all files if fast-move is possible. It should be possible to configure this behavior though.
      2a. As above, but with scanning disabled if we detect that the paths are candidates for fast-move operation.

        Attachments

          Activity

            People

            • Assignee:
              admin ixen
              Reporter:
              admin ixen
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours
                4h