[SERVER-53672] Remove SessionCatalogMigrationDestination::_isStateChanged condition variable Created: 08/Jan/21  Updated: 29/Oct/23  Resolved: 21/Jan/21

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Task Priority: Major - P3
Reporter: Haley Connelly Assignee: Alexandre Bique (Inactive)
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding 2021-01-25
Participants:

 Description   

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.



 Comments   
Comment by Githook User [ 21/Jan/21 ]

Author:

{'name': 'Alexandre Bique', 'email': 'alexandre.bique@mongodb.com'}

Message: SERVER-53672 Remove SessionCatalogMigrationDestination::_isStateChanged condition variable
Branch: master
https://github.com/mongodb/mongo/commit/73252c4c0f184f1c81ffb478f66b6028ad7c72b9

Generated at Thu Feb 08 05:31:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.