Comment 6 for bug 1824299

Revision history for this message
Mike Bayer (zzzeek) wrote :

OK so , the mutex in question would solve this very particular race, but it isn't a generalized solution. I have two test scripts that reproduce the issue, one is fixed by a mutex in mapper() above, but the other is not. The essential problem is that neutron is importing modules while simultaneously trying to build queries against the things being imported. Neutron should have mutexes during its dynamic module importing that prevents it from proceeding with API requests within this process.