Skip to content

Support a command line option to not allow acquiring new locks the first n seconds after reboot. #28

@pacman82

Description

@pacman82

Imagine the server should crash or be killed and rebooted. In this case the clients are going to restore their acquired locks. However they will do so only after their heartbeat receives the Unknown Peer error from the server. Should to many clients acquire new locks, before this happens, the whole system runs at risk of increasing the semaphore count beyond max. While this is intentionally supported, it would be nice if we could delay handing out new locks after a server reboot. Specifically increasing it two a time somewhat longer than the heartbeat interval should make incrementing the semaphore count beyond max nearly impossible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions