I'm currently experiencing an issue where deleted images still display on both my test and production environment. This occurs only to deleted images. I'm running SharePoint 2010 on Windows 2008 x64 with 14.0.6123.5000 with a separate SQL server and using the database for all file storage. There are 2 web servers, 2 app, and 1 database in a 4 node cluster.
When deleting an image from any location: document library, image library, site assets folder, etc; the image still shows up when I manually enter the URL. This occurs even when the image has been deleted from both the Recycle Bin and the Second Stage Recycle Bin. The image continues to show up long after it was deleted as well. I currently have one image which was deleted 2 months ago that still responds.
Permissions of the image persist even after it was deleted, but it acts a little differently. Let's say you don't have access to the image, such as getting the "Error: Access Denied" message. Then the image gets deleted, and at this point you'll receive a "404 Not Found" error when typing in the URL. This is the expected correct response. But let's say someone who did have permissions to the image before it was deleted types in the same URL, then they still see the image.
A further odd scenario is if a person who did not have permission and gets "404 Not Found" attempts to upload a new image with the same file name. In that case when they hit the URL of the new file they see the new image. But if a user who had access to both the old image and the new image access the same URL, they still continue to see the old image. Both users are now hitting the exact same URL and getting two totally different images displayed.
Has anyone encountered a situation like this? I didn't see any related error so bugs which were similar, and I haven't found anything in release notes regarding recent updates either.