Skip to content

admission: SnapshotQueue can deadlock on a context cancellation race #159402

@sumeerbhola

Description

@sumeerbhola

This can happen if the context passed to the pacer for the incoming snapshot is cancelled, and there is a race with the granter calling into the SnapshotQueue.

Jira issue: CRDB-57829

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-admission-controlC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.T-admission-controlAdmission Controlbranch-release-24.3Used to mark GA and release blockers, technical advisories, and bugs for 24.3branch-release-25.1branch-release-25.2branch-release-25.3Used to mark GA and release blockers and technical advisories for 25.3branch-release-25.4Used to mark GA and release blockers and technical advisories for 25.4branch-release-26.1Used to mark GA and release blockers, technical advisories, and bugs for 26.1target-release-26.2.0

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions