Skip to content

[Bug]: Stations sometimes get locked in a loop when they're transmitting on top of each other until timeout #965

@k8wu

Description

@k8wu

FreeDATA Version

v0.17.0-beta

What operating system are you using?

Windows

Operating System Version

Windows 11 Home 24H2

Architecture

x64

Area of problem

Server - General

Describe the bug

Sometimes, two stations can try transmitting on top of each other, and the delay is such that neither station will receive anything because they transmitted while the other station was transmitting. This can resolve itself occasionally, but usually it results in a timeout and requires a retransmission.

To Reproduce

It's not easy to reproduce, but if you have a conversation that lasts longer than a few overs, this race condition can happen.

Expected behavior

It should be expected that one of the stations should delay for a few seconds to receive anything the other station is sending (i.e. if it is expecting an acknowledgement from the remote station).

Screenshots

No response

Log Files

No response

Additional context

It has been suggested to implement a randomized delay if a station is not receiving an acknowledgement from the remote station when it is attempting to send data to the remote station and get confirmation back that the data was sent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ARQARQ related problembug 🪲Something isn't working

    Projects

    Status
    In review

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions