Skip to content

Errors in db.transact() closure are not retried #125

Closed
@eastern-grey

Description

@eastern-grey

Hi guys,

I'm seeing an issue where some transactions run with db.transact() are timing out with "Error { kind: \n\nFoundationDB error(1009): Request for future version, should_retry: true }" after 1 second, when a storage server gets a little lagged. I'm puzzled as to why the transaction is not retried, as I'm not setting any transaction options, and I gather there are no timeouts by default. I don't have any experience using foundationdb in other language bindings, so I'm not sure if this is an issue with the rust bindings or in foundationdb itself. If it's the latter, please let me know and I'll take the issue up on the foundationdb forums.

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