Skip to content

[Tech Debt] Orphaned Locks Management: Race Conditions in Redis #1

@genesisgzdev

Description

@genesisgzdev

Current State: Mutual exclusion is managed via basic Redis Lua scripts.

Required Action: Enforce a strict Time To Live (TTL) on all locks to prevent orphaned seats if an API pod restarts mid-transaction. Additionally, if scaling to a distributed Redis Cluster, a simple Lua script does not guarantee mutual exclusion; implement the Redlock algorithm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    critical-debtCritical architectural flaw that can cause data losshigh-priorityMust be addressed in the next sprint

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions