Skip to content

how lock gets released in case of service crash #275

@rasoul-tiebreak

Description

@rasoul-tiebreak

Lease/TTL
The lock includes an expiration time (TTL – Time to Live). The leader must periodically renew this lease to remain the leader.

Failover
If the leader crashes, it stops renewing the lease. When the lease expires, the lock is released automatically and another instance can acquire it and become the new leader.

my question is how / who renew the TTL and how can be managed from service side

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