Solution

ARTIFACTORY: How to migrate from Eventual to Direct upload mechanism

AuthorFullName__c
David Livshin
articleNumber
000006038
ft:sourceType
Salesforce
FirstPublishedDate
2024-02-29T12:20:00Z
lastModifiedDate
2024-02-29
VersionNumber
2
We could just prevent anyone from uploading to our Artifactory instance allowing Artifactory to clear the _queue directory and then make the switch. This is a viable strategy if you can deal with downtime.

However, we offer another solution:
We can set the property passThrough as true in the binarystore.xml (under $JFROG_HOME/artifactory/var/etc/artifactory/). This property will make the eventual configuration act like the direct upload mechanism saving all new binaries directly on the remote provider, bypassing the eventual mechanism completely. This allows the current _queue to clear without adding new binaires to this location.