Skip to content

Enable fair locking model of pessimistic transactions by default #42147

@MyonKeminta

Description

@MyonKeminta

Enhancement

We've implemented a new locking model for pessimistic transactions, namely Aggressive Locking (and will be renamed to Fair Locking after #42107), which can significantly reduce tail latency in single-key pessimistic lock contention scenarios. Its progress is recorded in this issue.

In 7.0, we plan to enable it by default for new clusters. However for clusters upgraded from older version, it will still be kept disabled to avoid potential risk of performance regression.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementThe issue or PR belongs to an enhancement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions