Skip to content

s3 connector write timeout parameter? #26088

@virtualb0x

Description

@virtualb0x

Hello.

Sometimes we receive an error
SQL Error [65536]: Query failed (#20250627_093913_06921_hsqg5): java.io.IOException: java.util.concurrent.CompletionException: software.amazon.awssdk.services.s3.model.S3Exception: A conflicting conditional operation is currently in progress against this resource. Try again. (Service: S3, Status Code: 409, Request ID: 5b77f718-881d-4363-8008-555818c51b72) (SDK Attempt Count: 2)

Out s3 provider said it is because our timeout is 30s, we need to set it to 60s

In the code of library

There is timeout
private static final Duration DEFAULT_SOCKET_WRITE_TIMEOUT = Duration.ofSeconds(30);

But there is no such param in truno config. Only s3.socket-read-timeout

How can I set write timeout for s3 connector?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions