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

Clean up unnecessary mutex acquisitions in tenant migration recipient service

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Replication
    • None
    • Replication

    Description

      We do not need to hold the tenant migration recipient service mutex while reading the state doc in the main chain. It should be impossible for another thread to be changing _stateDoc. 

      reportForCurrentOp requires the mutex before reading the _stateDoc because the operation comes from a user thread. 

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: