Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-16416

"201 created" is returned even when Artifactory cannot reach the filestore (Not _pre)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.6.0
    • Component/s: Filestore
    • Labels:
      None

      Description

      If Artifactory has a non-local filestore system (Such as NFS), as well as a local cache for the _pre folder, losing connection to the non-local filestore causes incorrect success messages to be sent on deployment.

      Steps to reproduce:

      1. On a regular Artifactory installation, disable write access on the 2 character subfolders within the standard $ARTIFACTORY_HOME/data/filestore directory. This must be done for the uploaded file's folder.
        chmod 000 9c
      2. Deploy a file to Artifactory as normal
        curl -uadmin:password -T foo.txt http://localhost:8081/artifactory/testRepo
      3. Observe the "201 created" message, and note the filestore is still empty:

      ls -R filestore/
      filestore/:
      7d 9c _pre

      filestore/7d:

      filestore/9c:

      filestore/_pre:

      dbRecord2057601553899952181.bin 

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              yoazm Yoaz Menda (Inactive)
              Reporter:
              patrickr Patrick Russell
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: