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.
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.