Skip to content

[native_iceberg_compat] Intermittent failure to resolve bucket region #2285

@andygrove

Description

@andygrove

Describe the bug

I sometimes see queries fail due to errors resolving the bucket region.

In Comet, we have this native code:

        let region =
            get_runtime().block_on(resolve_bucket_region(bucket, &ClientOptions::new()))?;

This calls into arrow-rs-object-store code:

    let response = client.head(&endpoint).send().await.map_err(|source| {
        let bucket = bucket.into();
        Error::ResolveRegion { bucket, source }
    })?;

It appears that this request is sometimes failing.

Steps to reproduce

No response

Expected behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions