Skip to content

shared token selector: first check locally #886

@adecaro

Description

@adecaro

When a replica tries to lock a token, it might try to lock a token that it has already locked. Instead of trying to insert optimistically in the DB and getting an error, it could first make a local check.

In other words, if a replica knows that a know is locked, there is no need to go to the DB.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions