Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Attempting to lock a nonexistent item hangs indefinitely #23

@hategan

Description

@hategan

If /dm/lock is called with an invalid item id, the call hangs. That's because waitForPendingDelete waits until a query that searches for an item with the relevant id AND dm.deleteInProgress not equal to true succeeds. /dm/lock should validate the item id before calling waitForPendingDelete or waitForPendingDelete should fail if the item with the specified id does not exist.

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