Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-77688

Consider bypassing ticket acquisition for locks in hot sharding codepaths

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Catalog and Routing
    • 3

    Description

      Some locks acquired/release by the internal sharding machinery are "hot" because user operations may be impacted when the acquisition/release is delayed because of tickets unavailability. An example of sensible path is the acquisition/release of the critical section.

      Purpose of this task is to identify such hot paths and consider using ScopedAdmissionPriorityForLock in order to bypass ticketing, similarly to what has been committed under SERVER-76835 to avoid unnecessarily blocking metadata refreshing.

      Attachments

        Activity

          People

            backlog-server-catalog-and-routing Backlog - Catalog and Routing
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: