mirror of https://github.com/facebook/rocksdb.git
55877d8893
Summary: The `PessimisticTransaction::SetName()` code checks for an existing txn of the given name before registering the new txn. However, this is not atomic, which could result in a race condition if two txns try to register with the same name. Both might succeed and lead to unpredictable behavior. This PR makes the test and set atomic. Pull Request resolved: https://github.com/facebook/rocksdb/pull/12895 Reviewed By: pdillinger Differential Revision: D60460482 Pulled By: anand1976 fbshipit-source-id: e8afeb2356e1b8f4e8df785cb73532739f82579d |
||
---|---|---|
.. | ||
.gitkeep | ||
duplicate_wal_entries.md | ||
invalid_manifest_number.md | ||
prevent_duplicate_txn_name.md |