-
Notifications
You must be signed in to change notification settings - Fork 77
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
feat(crates-io): replicate entire bucket in fallback #468
base: master
Are you sure you want to change the base?
feat(crates-io): replicate entire bucket in fallback #468
Conversation
Staging
|
Production
|
The unstable hash for the Fastly function is something I'm chasing and fixing every few months. 😞 Could just be that a new Rust version changed the layout of the WASM file slightly. 🤷♂️ Would be great to eventually make sure the hash is stable again... |
Regarding the filter, I'm not sure what the historic context is. @pietroalbini or @Mark-Simulacrum might know. |
I applied the other changes. The plan looks much better now:
If I get the approval from Pietro or Mark, I'll apply and merge this 👍 |
I don't have particular context. However, I suspect that the crates.io frontend/site uses the other resources and can only use the primary bucket to do this today, and/or we deemed replicating the rest of the less critical files (which should be ~reproducible from the .crate files, I'd expect) needlessly expensive to replicate and store multiple times. But @rust-lang/crates-io or Pietro likely have more current context on usage. I doubt that extra replication is that much of a problem. |
yeah, the readmes can be extracted and rerendered from the crate files and the RSS files can be recreated from the database. the database dump obviously can also be recreated from the database. the replicating the |
Yeah, we should have replicated the archive folder, but we forgot. That's why I think replicating everything is the safer option here 👍 |
The reasoning why only the |
9d5a0f0
to
76551f5
Compare
I got this error in the staging environment when running
So maybe there's an issue with delete_marker_replication I'll put this on hold until we update the terraform aws provider |
I retried now that terraform providers are at the latest version and I got the same error 😵 |
The crates-io bucket contain many directories:
However the fallback contains just
crates
:I think we should replicate the entire content of the bucket, so I'm removing the filter 👍
What do you think? 👀