Skip to content

withShouldSkipBlockingWait will always fail to acquire lock if already exists and expired #93

@cristianocca

Description

@cristianocca

Acquiring a lock with withShouldSkipBlockingWait(true) (so we don't block waiting) does not attempt to retrieve a lock that is expired (e.g., owner died / past lease time) as opposed to not using this option. Basically, if a lock is stale in DDB, using withShouldSkipBlockingWait will never be able to pick up the lock and it will consider it as already taken.

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