Steps to reproduce:
1. If you create a smart repo and then remove the artifact from source repository then it will disappear from cache based on the 'Retrieval cache value' in remote repository configuration. So in this case if no one has downloaded the artifacts then both repository shows the same contents.
2. If any artifacts are downloaded from remote repo then it will be cached into remote repo cache. Ideally if we simply do a head request (-I) then artifacts will have the 'SourceDeleted' property set in remote cache. We just tried that and somehow head request (-I) is not setting up this property.
curl -I http://artifactory/artifactory/list/naren-orbit/ORBIT/ORBIT_Release_220.127.116.11(18.104.22.168)/EORMREP_Web_Server_Release_22.214.171.124.zip
We can only see the 'SourceDeleted' property when we downloaded the file.
curl -o /tmp/t.zip http://artifactory/artifactory/list/naren-orbit/ORBIT/ORBIT_Release_126.96.36.199(188.8.131.52)/EORMREP_Web_Server_Release_184.108.40.206.zip