Details
Description
ChangeStreamOptionsManager has a race condition prone interface element - const ChangeStreamOptions& ChangeStreamOptionsManager::getOptions(OperationContext* opCtx) which returns a reference to internal data structure. This makes any read access of the ChangeStreamOptions to introduce a race condition.