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

Remove SessionCatalogMigrationDestination::_isStateChanged condition variable

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
    • Fully Compatible
    • Sharding 2021-01-25

      In SessionCatalogMigrationDestination, the condition variable _isStateChanged is a private member that is never waited upon. While _isStateChanged.notify_all() is still called throughout the class, it does not appear to serve any purpose and should be removed.

      It looks like SERVER-31347 removed the method that waited on this condition variable.

            Assignee:
            alexandre.bique@mongodb.com Alexandre Bique (Inactive)
            Reporter:
            haley.connelly@mongodb.com Haley Connelly
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: