Uploaded image for project: 'Islandora'
  1. Islandora
  2. ISLANDORA-1901

Tuque: PUT Request errors when retrying

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.x-1.3, 7.x-1.4, 7.x-1.5, 7.x-1.6, 7.x-1.7, 7.x-1.8
    • Fix Version/s: 7.x-1.9
    • Component/s: Tuque API
    • Labels:
      None

      Description

      If I recall correctly, this would manifest as timeouts following a spurious HTTP 409 Conflict: We understand that we are pushing some number of bytes, but have failed to rewind the file handle to the beginning after the first request; therefore, the handle has fewer bytes to push than expected/expressed in the request headers, the server should keep the connection open (expecting the indicated number of bytes to arrive) eventually killing the request with a timeout.

      Steps to Reproduce

      No reliable mechanism known to expose; however, seems to be something which has haunted Fedora for a long time (at least via the REST API)... Our original Tuque code is largely an adaptation of previously existing code from the Python "fcrepo" library

      Test Case

      Lacking reproduction steps, seems to fall down to regression testing; making sure valid PUT requests succeed. In particular here, datastream modifications, which perform "PUT" requests with a body.


      Adam Vessey
      Developer
      discoverygarden inc. | Managing Digital Content

        Attachments

          Activity

            People

            • Assignee:
              adam.vessey Adam Vessey
              Reporter:
              adam.vessey Adam Vessey
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: