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

Remove locally cached file on ingest #888

Open
donaldgray opened this issue Jul 30, 2024 · 0 comments
Open

Remove locally cached file on ingest #888

donaldgray opened this issue Jul 30, 2024 · 0 comments
Labels
bug Something isn't working engine orchestrator

Comments

@donaldgray
Copy link
Member

If an existing image has served an image-request via image-server then the source file will be on hot disk.

If that asset is then reingested then the image source at origin may have changed (e.g. original was flipped so image at source has been fixed).

We should prevent this happening, else a reingested image can look like it has failed. Ideally we should only do this if the source image has changed but to do so we'd need to store something like a checksum. Alternatively we can always clear it from hot-disk - if we take this approach are there any risks? If Orchestrator has a cached record for this image and we remove from hot-disk then user would view a 404 until Orchestrator cache ttl has elapsed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working engine orchestrator
Projects
None yet
Development

No branches or pull requests

1 participant