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

    Vitali

    04/26/2022, 11:15 PM
    yes
  • i

    Isaac McFadyen | YYZ01

    04/26/2022, 11:15 PM
    Is that expected to be lifted eventually? Any timeline if so?
  • j

    john.spurlock

    04/26/2022, 11:16 PM
    k so if using x-amz-copy-source-range that needs to be the same number of bytes too, eh?
  • v

    Vitali

    04/26/2022, 11:17 PM
    For the foreseeable future publishing will require all parts to be the same size (but currently it's required that that's true during upload too)
  • j

    john.spurlock

    04/26/2022, 11:20 PM
    maybe in the meantime another error code in this case to provide the user with a hint? 500 internal error is inscrutable
  • v

    Vitali

    04/26/2022, 11:22 PM
    I agree.The challenge is we're trying to stick to S3 error codes and this one doesn't exist.... Hmm..
  • v

    Vitali

    04/26/2022, 11:22 PM
    I think we could hide it in the returned message though
  • j

    john.spurlock

    04/27/2022, 12:17 AM
  • v

    Vitali

    04/27/2022, 12:49 AM
    Nice. You should be able to still hit 5TB by using 10k 500MB parts
  • v

    Vitali

    04/27/2022, 12:50 AM
    It'll be a bit shy of 5TB because there's some encryption overhead
  • v

    Vitali

    04/27/2022, 12:51 AM
    Appreciate it. I tried writing a reduced test case using our internal runtime test framework (only the R2 responses are stubbed out) and wasn't able to reproduce it.
  • j

    john.spurlock

    04/27/2022, 1:24 AM
    hehe me and my residential internet connection will... take your word on that : )
  • e

    Erwin

    04/27/2022, 1:25 AM
    Haha.. So would I and my residential internet connection, which isn't all that bad for a residential internet connection 😄
  • j

    john.spurlock

    04/27/2022, 1:33 AM
    yea even with ~940mbps up, would take almost 12 hrs!
  • e

    Erwin

    04/27/2022, 1:33 AM
    Imagine my poor 200mbps then 😁
  • i

    Isaac McFadyen | YYZ01

    04/27/2022, 1:38 AM
    Imagine my 5mbps up. 😦
  • a

    AA

    04/27/2022, 1:41 AM
    out of interest. does anyone know if r2 will require enterprise plan for a BAA?
  • a

    AA

    04/27/2022, 1:42 AM
    (s3 its just a click to sign)
  • e

    Erwin

    04/27/2022, 1:48 AM
    BAA?
  • a

    AA

    04/27/2022, 1:50 AM
    @Erwin Business Associate Agreement (HIPAA stuff)
  • e

    Erwin

    04/27/2022, 1:50 AM
    Ahh.. I have no idea about those.. I assume it won't be much different than the rest of Cloudflare (which I also don't have an answer for tbh)
  • a

    AA

    04/27/2022, 1:51 AM
    rest of cloudflare is 'enterprise only'
  • a

    AA

    04/27/2022, 1:51 AM
    well, for hosting sites
  • a

    AA

    04/27/2022, 1:51 AM
    unclear about workers or storge
  • e

    Erwin

    04/27/2022, 1:53 AM
    My naive assumption would be for that to be enterprise only then.. unless stated otherwise.
  • a

    AA

    04/27/2022, 1:54 AM
    yea probably :(.. CF is one of the least accessible platforms for healthcare providers unfortunately
  • v

    Vitali

    04/27/2022, 3:06 AM
    Just a heads up since you're using multipart. I'm looking to land the performance improvement for R2 but it looks like the way we manage multipart uploads has a little bit of an issue. You need to make sure to avoid uploading too many parts in parallel for the same uploadId (like 2-3 seems to be asafe limit). Changing it will require a bit of an overhaul of how we do multipart (which is probably a good time to overhaul some of the other stuff you ran into too). This is currently in the backlog for post open beta.
  • v

    vasco-santos

    04/27/2022, 7:07 AM
    humm, what about my example repo? Could you run both workers and HTTP the API to get the binded worker response into R2?
  • v

    Vitali

    04/27/2022, 1:24 PM
    I haven't tried yet. A couple of slightly higher priority issues came up so the bandwidth of me and another coworker got zapped. Hopefully today we'll try again.
  • a

    albert

    04/27/2022, 1:29 PM
    Just a few observations I made when testing the (currently very limited)
    Range
    header functionality: 1. Returns 200 OK rather than 206 Partial Content. 2. Does not accept
    Range: bytes=0-0
    (first byte) even though it is a valid range. Remember, the HTTP range header is inclusive the end index. 3. Does not accept
    Range: bytes=0-
    (all bytes from index
    0
    and forward - so essentially the entire resource). A lot of browsers sends a HEAD with this range to check if the server supports ranges. 4. Does not accept multiple ranges in any form. Requires that the "range must be in format bytes=start-end.".
1...626364...1050Latest