Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-29425

Ensure transfer update is done under one transaction

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: ADDONS_10.10
    • Component/s: Aspera Connector
    • Tags:
    • Upgrade notes:
      Hide

      updateTransferStatuses deprecated - use syncTransfer(CoreSession, String) instead. check code

      Show
      updateTransferStatuses deprecated - use syncTransfer(CoreSession, String) instead. check code
    • Sprint:
      nxApps 2020 Cycle 8
    • Story Points:
      5

      Description

      Let's say that we create a manual transfer and the scheduler starts and call the existing code to check the status (the exiting service will check the status and if the files are uploaded he will update the files on D.B Not the Nuxeo documents. After that it will save the transfer.
      Then, the scheduler is still working and a user refreshes his UI and sees the button Complete available and he clicks on it. We probably get a race condition Not allowed to follow transition <to_started> from state <pending>  I mean the scheduler try put back the transfer to Start  state but it's already on Pending.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 3 hours
                  1d 3h

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.