https://discord.cloudflare.com logo
Join Discord
Powered by
# r2
  • v

    Vitali

    04/27/2022, 1:38 PM
    Yup. @john.spurlock already reported 1 & 2. I think I mentioned earlier we're not doing #4 until after open beta
  • v

    Vitali

    04/27/2022, 1:41 PM
    Range support checking should be done by looking at the
    Accept-Ranges
    header in the response
  • v

    Vitali

    04/27/2022, 1:41 PM
    MDN doesn't have
    bytes=0-
    documented - need to see if it's part of the spec
  • v

    Vitali

    04/27/2022, 1:41 PM
    Ah found it
  • a

    albert

    04/27/2022, 1:44 PM
    Ok, so I have absolutely no idea what is going on here. If I PUT an object with
    await env.R2.put(key, request.body, {httpMetadata: {cacheControl: 'max-age=86400'}})
    , something really, really weird is happening with the HTTP metadata... PUT result:
    "httpMetadata":{"cacheControl":"max-age=86400"}
    - yup, this looks right HEAD result:
    "httpMetadata":{"contentDisposition":"max-age=86400"}
    - this is not the right header 🤔 GET result (S3-compatible API):
    content-language: max-age=86400
    - the header changed again???
  • a

    albert

    04/27/2022, 1:45 PM
    So my
    cacheControl
    can turn into
    Cache-Control
    ,
    Content-Disposition
    or
    Content-Language
    depending on where I request the object.
  • a

    albert

    04/27/2022, 1:46 PM
    @Vitali is this something you've experienced before?
  • v

    Vitali

    04/27/2022, 1:50 PM
    That is definitely very strange and unexpected. I'll need to take a look
  • v

    Vitali

    04/27/2022, 1:50 PM
    get and head being different is even weirder
  • a

    albert

    04/27/2022, 1:51 PM
    Just note the GET is from S3 API
  • a

    albert

    04/27/2022, 1:51 PM
    HEAD is from a Worker binding
  • a

    albert

    04/27/2022, 1:51 PM
    PUT is the return value of the above statement
  • v

    Vitali

    04/27/2022, 1:52 PM
    Will have to investigate it later today
  • v

    Vitali

    04/27/2022, 1:52 PM
    PSA: R2 production will be going down for ~5-10 minutes in the next ~10 minutes.
  • a

    albert

    04/27/2022, 1:54 PM
    HEAD/GET with bindings both return Content-Disposition. HEAD/GET with S3-compatible API both return Content-Language.
  • a

    albert

    04/27/2022, 1:54 PM
    Oh, no, my logpush job 😢
  • j

    James

    04/27/2022, 1:54 PM
    Perf improvements incoming? 👀
  • v

    Vitali

    04/27/2022, 1:55 PM
    Is there a better time to take it down?
  • a

    albert

    04/27/2022, 1:56 PM
    Nah, was just making fun. That logpush job is for a testing domain, so there's no issues at all 🙂
  • a

    albert

    04/27/2022, 1:57 PM
    wouldn't put anything production-critical on R2 yet
  • v

    Vitali

    04/27/2022, 2:08 PM
    ETA for being back up is ~2 min
  • v

    Vitali

    04/27/2022, 2:09 PM
    Looks to be up again
  • v

    Vitali

    04/27/2022, 2:11 PM
    It may take a while for the change to propagate
  • v

    Vitali

    04/27/2022, 2:11 PM
    So there may be a few more minutes of downtime for some
  • v

    Vitali

    04/27/2022, 2:25 PM
    Currently ETA ~3 min for full restoration
  • v

    Vitali

    04/27/2022, 2:32 PM
    @albert can you turn off your logpush for a couple of minutes?
  • v

    Vitali

    04/27/2022, 2:33 PM
    Seems like your account hasn't refreshed
  • v

    Vitali

    04/27/2022, 2:33 PM
    Actually maybe a different albert
  • a

    albert

    04/27/2022, 2:33 PM
    I'm
    e5f0f929bb59b9d5e1bc9b35e9e3bf00
  • v

    Vitali

    04/27/2022, 2:33 PM
    Yeah that is you
1...636465...1050Latest