Skip to content
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

Race condition in s3_staging between ingest and preview?? #71

Open
phirstgemini opened this issue Oct 6, 2024 · 0 comments
Open

Race condition in s3_staging between ingest and preview?? #71

phirstgemini opened this issue Oct 6, 2024 · 0 comments
Assignees
Milestone

Comments

@phirstgemini
Copy link
Collaborator

Wondering if ingest and preview may be colliding in s3_staging?

/data/logs/service_ingest_queue.py-1.log.1:2024-10-05 15:44:47,368 967738:service_ingest_queue:131 INFO: Ingesting N20241005S0292.fits.bz2 - 5770586 (1 on queue)
/data/logs/service_ingest_queue.py-1.log.1:2024-10-05 15:44:47,410 967738:ingester:165 INFO: Adding new file table entry for N20241005S0292.fits.bz2
/data/logs/service_ingest_queue.py-1.log.1:2024-10-05 15:44:48,732 967738:ingester:568 INFO: Adding N20241005S0292.fits.bz2 to preview queue
/data/logs/service_ingest_queue.py-1.log.1:2024-10-05 15:45:02,198 967738:service_ingest_queue:131 INFO: Ingesting N20241005S0292.fits.bz2 - 5770589 (1 on queue)
/data/logs/service_ingest_queue.py-1.log.1:2024-10-05 15:45:02,250 967738:aws_s3:233 WARNING: File already exists at S3 download location: /data/s3_staging/N20241005S029.fits.bz2. Will delete it first.
/data/logs/service_ingest_queue.py-1.log.1:2024-10-05 15:45:03,697 967738:ingester:568 INFO: Adding N20241005S0292.fits.bz2 to preview queue
/data/logs/service_ingest_queue.py-1.log.1:FileNotFoundError: [Errno 2] No such file or directory: '/data/s3_staging/N20241005S0292.fits.bz2'
/data/logs/service_preview_queue.py-1.log:2024-10-05 15:44:50,911 569737:service_preview_queue:104 INFO: Previewing N20241005S0292.fits.bz2 - 5721647 (5278 on queue)
/data/logs/service_preview_queue.py-1.log:2024-10-05 15:44:51,003 569737:previewer:187 INFO: Rendering preview for N20241005S0292.fits.bz2
/data/logs/service_preview_queue.py-1.log:2024-10-05 15:45:02,613 569737:previewer:159 INFO: Uploading preview N20241005S0292.fits.bz2_preview.jpg to S3
/data/logs/service_preview_queue.py-1.log:2024-10-05 15:45:07,989 569737:service_preview_queue:104 INFO: Previewing N20241005S0292.fits.bz2 - 5721650 (5278 on queue)
@phirstgemini phirstgemini added this to the Operations milestone Oct 6, 2024
@phirstgemini phirstgemini self-assigned this Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant