Skip to content

Lock Component, note about sharing a lock in various services misleading or wrong #9367

@igorbga

Description

@igorbga

From the note in the Lock Component documentation page I do understand that if two services create 2 locks with the same name they do not lock each other.

But I've made a test calling 2 different requests, each one calling to a different controller and service and one did lock the other.

Maybe this only happens inside the same request? Maybe you meant that 2 lock creations with the same name in the same request give 2 different locks?

In any case I think the explanation should be improved or removed if it is unnecesary.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions