Skip to content

NamedLock unable to clear locks under docker. #128

Open

Description

@bsutton

When using NamedLock in docker, if a dcli app crashes it can leave a stale namedlock.

The named lock logic uses the processes pid to determine if a lock is not stale.

In docker an app will always get the same pid id (1) so it will always look like it is use.

Consider using the processes start time. to help identify the pid is the one we thought it is.

Activity

  1. added a commit that references this issue on Oct 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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