Skip to content

Skips resolving lock in auto commit optimistic statement #58675

@ekexium

Description

@ekexium

Enhancement

An autocommit optimistic statement can retry with pessimistic mode. A lock implies contention, which can be better handled in pessimistic mode.
Removing the attempt to resolve locks in its first optimistic execution can reduce latency in high-contention scenario.

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