Skip to content

missing some "break lease" in protocol services #5728

@ndr-brt

Description

@ndr-brt

Bug Report

Describe the Bug

Looking at the protocol services, there are some "break lease" missing, especially when message deduplication is triggered.

This is in part caused in the not great shape these services have become, they need some refactoring.

Expected Behavior

after a new entity is fetched with lease, there should be either a save or a breakLease call before returning the result.

Possible Implementation

add clear separation between business logic (that always succeeds and store the changes) and business validations/guards, that will require the lease to be broken, that will make all the flow and responsibilities clearer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug_reportSuspected bugs, awaiting triage

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions