Closed ltamasi closed 1 month ago
This pull request was exported from Phabricator. Differential Revision: D57915207
This pull request was exported from Phabricator. Differential Revision: D57915207
This pull request has been merged in facebook/rocksdb@d9316260e4726832d11e6c33e35067982970555a.
Summary: This is most likely copypasta from
TestGet
from before https://github.com/facebook/rocksdb/pull/11058 . There is no need to lock the mutex for the key for reads; in fact, doing so is detrimental to test coverage since it locks out concurrent writers.Differential Revision: D57915207