Staging instance, all changes can be removed at any time

Skip to content

Fix race condition in multiplexer_objstorage add() return value

If an objstorage is read-only, the add() method will return None. The multiplexer should return one of the non-None values if it finds one, instead of the (inconsistent) first value returned by any of the threads.

Test Plan

tox is happy, even by making add() slow (e.g. by adding a sleep(1) to it)


Migrated from D3237 (view on Phabricator)

Merge request reports

Loading