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

Remove unnecessary UninterruptibleLockGuards from sharding code

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • Repl 2018-12-17, Repl 2019-01-14

    Description

      There are four places in src/mongo/db/s/ that we can remove the use of UninterruptibleLockGuard because they are unnecessary and would conflict with prepared transactions based on the locks they take. 

      The first is in migration_source_manager.cpp.

      The other three are in move_primary_source_manager.cpp here, here and here.

      Attachments

        Activity

          People

            samy.lanka@mongodb.com Samyukta Lanka
            samy.lanka@mongodb.com Samyukta Lanka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: