Sometimes remote requests to load-balanced, out-of-sync nodes of a cached remote repos ended up with conflict between the file and its metadata (example the modification date might be new but file content might be old).
- Remote server have two nodes one contains updated file and the other contains old file.
- Artifactory have expired file in remote repo cache.
- In order to update the expired file, Artifactory will first send HEAD request and only then, if the file has changed, Artifactory will send Get to bring the new file.
- in case that the HEAD request will reach to the first node and the GET request will reach to the second node, each request will return different data which will cause corruption.