Skip to content

Optimistic update transaction failed #1476

@amigo70707

Description

@amigo70707

When I perform an optimistic update and the server does not apply any update, but still responds successfully with a txId, I end up with a transaction state: failed and the error message: "Timeout waiting for txId"

Example:

Update field name:
test > test1 > server returns txId with confirmation > OK
test5 > test9 > server returns txId with confirmation and no update in data > failed

tested on:

"@tanstack/electric-db-collection": "^0.3.1",
"@tanstack/react-db": "^0.1.81",

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