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

When updating the configuration with concurrent requests request for an update may fail

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: 2 - Critical
    • Resolution: Done
    • Affects Version/s: 5.11.0, 6.5.1, 6.4.1
    • Fix Version/s: 6.5.2
    • Component/s: Configuration
    • Labels:
    • Severity:
      Critical

      Description

      In case that you are trying to update the configuration (config descriptor) with frequent requests some of the requests will fail, which can cause a missing data scenario or bad configuration. 

      Steps to reproduce:

      1. Start Artifactory and create a local repository named temp.
      2. Run a REST API command for 'Update Repository Configuration' with 3 concurrent requests per second. 
      3. Every several requests you will get the below error: 
        {
        "errors" : [ {
        "status" : 400,
        "message" : "Could not merge and save new descriptor [org.jfrog.common.ExecutionFailed: Last retry failed: exceeded number of retries 5. Not trying again (Should update revision 990. Found: 991)]\n"
        } ]
        }

      Tried to use YAML Patch REST API to have a workaround, however, issue persist also by using YAML. 

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            ariels Ariel Seftel
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Sync Status

                Connection: RTFACT Sync
                RTMID-16638 -
                SYNCHRONIZED
                • Last Sync Date: