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

    web scale connoisseur

    04/25/2022, 9:24 PM
    if you have r2 access, where does it show on the dash
  • k

    kian

    04/25/2022, 9:24 PM
    account level
  • k

    kian

    04/25/2022, 9:25 PM
    between Workers & Stream
  • w

    web scale connoisseur

    04/25/2022, 9:25 PM

    https://i.imgur.com/7GCSftb.png▾

    oh F then
  • w

    web scale connoisseur

    04/25/2022, 9:25 PM
    gotta be patient and wait
  • v

    Vitali

    04/25/2022, 10:37 PM
    My understanding is that that's only the case because S3 has to do an extra lookup to obtain this information.
  • j

    john.spurlock

    04/25/2022, 10:39 PM
    but it also bloats the response with repetitive info (think 1000 keys) that no one ever uses, no? even if egress is not an issue, keeping the response size down would be important over slow connections
  • v

    Vitali

    04/25/2022, 10:39 PM
    Try moving the compat date forward.
  • v

    Vitali

    04/25/2022, 10:40 PM
    Maybe. I'll add it to the performance backlog
  • v

    Vitali

    04/25/2022, 10:42 PM
    @john.spurlock I need to investigate more, but for non-empty buckets, I'm pretty sure I'm seeing non-empty list result back. Can you confirm again that I've got the right scenario where you are just doing
    await BUCKET.list()
    where
    BUCKET
    is a binding to a non-empty bucket but the result of the list has empty
    objects
    .
  • j

    john.spurlock

    04/25/2022, 10:47 PM
    that's right, just tested again, still no objects. my
    compatibility_date
    is
    2022-04-14
    , should i be updating that every morning?
  • v

    Vitali

    04/25/2022, 10:47 PM
    No, but try moving forward to
    04-18
    just in case
  • j

    john.spurlock

    04/25/2022, 10:48 PM
    and it looks like i need to remove
    r2_public_beta_bindings
    as of that date? i'm getting an error on push
  • v

    Vitali

    04/25/2022, 10:48 PM
    (above someone is saying that the
    compatibility_flags
    isn't working for them)
  • v

    Vitali

    04/25/2022, 10:48 PM
    What's the error?
  • v

    Vitali

    04/25/2022, 10:48 PM
    Oh, yes you should remove
  • j

    john.spurlock

    04/25/2022, 10:49 PM
    10021 The compatibility flag r2_public_beta_bindings became the default as of 2022-04-18 so does not need to be specified anymore.
  • v

    Vitali

    04/25/2022, 10:49 PM
    Yup
  • v

    Vitali

    04/25/2022, 10:50 PM
    Sometime this week everyone will be seeing that if they publish with
    r2_public_beta_bindings
    because it's the default and internal beta users have been notified to migrate to public beta bindings as we'll be removing that code path within the next little while
  • j

    john.spurlock

    04/25/2022, 10:50 PM
    same behavior, list with no options => 0 results, list with { limit: 1 } => 1 result
  • j

    john.spurlock

    04/25/2022, 10:53 PM
    unrelated, i'm getting a
    413 Request Entity Too Large
    putting a 3gb file in one go (with
    PutObject
    ), is there a limit?
  • v

    Vitali

    04/25/2022, 10:55 PM
    The limit should be 5gb but in practice ~3GB is roughly the single largest upload that'll actually work I think.
  • v

    Vitali

    04/25/2022, 10:55 PM
    But we shouldn't be returning 413 for 3GB
  • j

    john.spurlock

    04/25/2022, 10:55 PM
    the file i tried to upload is 3.01gb or something like that
  • v

    Vitali

    04/25/2022, 10:55 PM
    413 is returned for ~5GB
  • j

    john.spurlock

    04/25/2022, 10:55 PM
    and it's not a s3-formatted xml error, it's html!
  • v

    Vitali

    04/25/2022, 10:56 PM
    That indicates it's not coming from R2. I'll raise this internally
  • v

    Vitali

    04/25/2022, 10:56 PM
    You're doing this via the S3 endpoint at
    <account id>.r2.cloudflarestorage.com
    yeah?
  • j

    john.spurlock

    04/25/2022, 10:57 PM
    yep, with
    PutObject
  • v

    Vitali

    04/25/2022, 10:57 PM
    If you're fronting via a worker your limit will be 500 MB
1...565758...1050Latest