-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
restore_intelligent missing some files? #23
Comments
I've replicated the behavior on an additional folder (e.g. Stain2_Batch2_MitoCompare, 1 file difference) |
Similarly, I'm finding examples where restore_intelligent is listing a different number of files without a |
My strong suspicion is that sometimes folders "count", and sometimes they don't. It seems to be that an uploaded folder is an object, but then once moved is not, IME. That probably explains the cases with no errors, though I'm not sure there's any way to confirm other than just diffing the two. Are there any patterns you've discerned so far about what the object names are? |
I'm guessing you're right that the second set without errors does have something to do with folders being size 0 objects sometimes. |
I'm transferring from one bucket to another. After un-archive with restore_intelligent.py and transfer with
aws s3 sync
, using the S3 console toCalculate total size
I get 17289 objects in the source bucket and 17287 objects in the destination bucket.I confirmed the 17289 objects in the source bucket with
aws s3 ls --human-readable --summarize
.If I run restore_intelligent on the source bucket it returns
17287 total files found pre-filtering
(I didn't wait for it to run through the actual restoration again). So why isn't it finding all 17289 files that are actually there?If I try aws s3 sync again it returns
An error occurred (InvalidObjectState) when calling the UploadPartCopy operation: Operation is not valid for the source object's access tier
for two files.If I directly call those files one at a time with restore_intelligent it returns
1 total files found pre-filtering
andREQUESTED 1
for each. If try again shortly thereafter it showsIN_PROGRESS 1
. These do seem to be the missing files as they don't exist in the destination bucket, I can't download them from the source bucket becauseAn error occurred (InvalidObjectState) when calling the GetObject operation: The operation is not valid for the object's access tier
and I can download adjacent images from the source bucket.So if these are actually the files it's missing, why does it find them if I call them directly?
(e.g. is Stain2_Batch2_Confocal)
The text was updated successfully, but these errors were encountered: