Skip to content

Seems to be a bug in sequence number saving in JDBC #357

@nolag

Description

@nolag

Describe the bug
A clear and concise description of what the bug is.

A lock is taken by the session on either sending or receiving, but an update in the JDBC store updates both sequence numbers.

To Reproduce

I can't make the race condition happen, so it's possible I'm missing something. In theory, stop the store from saving in sending and then receive a message. Once the receive stores sequence numbers, the send should revert the receive's number

Note: you can reverse send/receive here.

Expected behavior

Neither rolls back the other.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions