404 Not Found status from StorageGRID during HEAD operation
Applies to
- StorageGRID 11.7.0.4
- Bucket consistency set to Available
- AWS S3 Java Library
Issue
From the application logs we can see the application is attempting to perform HEAD operation within few milliseconds after writing the object to the grid.
20xx-01-13 07:49:08.012
INFO : Request to check file with file name -> xxx/SMS/9i4znMnP0q5YnIjl2kuv/MDR_INDEX/20xx/1/11/client_xxx.json.zip on s3
20xx-01-13 07:49:08.017
INFO : Validated File upload with the key xxx/SMS/9i4znMnP0q5YnIjl2kuv/MDR_INDEX/20xx/1/11/client_xxx.json.zip on s3
20xx-01-13 07:49:08.017
INFO : Request to check file details -> xxx/SMS/9i4znMnP0q5YnIjl2kuv/MDR_INDEX/20xx/1/11/client_xxx.json.zip on s3
20xx-01-13 07:49:08.053
ERROR : Failed to upload file /app/jenkins/workspace/backup/xxx/SMS/9i4znMnP0q5YnIjl2kuv/MDR_INDEX/20xx/1/11/client_xxx.json.zip
com.amazonaws.services.s3.model.AmazonS3Exception: Not Found (Service: Amazon S3; Status Code: 404; Error Code: 404 Not Found; Request ID: 1705112347651955; S3 Extended Request ID: 12193937)