Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix possible race condition when reading noMoreDrivers
The accessor noMoreDrivers is not synchronized (visibility is ensured by the fact that noMoreDrivers is volatile). With current logic it was possible to observe noMoreDrivers flag set to true while DriverFactory.noMoreDrivers() was stil in progress and not all OperatorFactory.noMoreOperators() methods completed.
- Loading branch information