rocksdb/unreleased_history/bug_fixes
anand76 55877d8893 Make transaction name conflict check more robust (#12895)
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
2024-07-30 12:31:02 -07:00
..
.gitkeep Better management of unreleased HISTORY (#11481) 2023-05-30 16:42:49 -07:00
duplicate_wal_entries.md Fix duplicate WAL entries caused by write after error recovery (#12873) 2024-07-22 12:40:25 -07:00
invalid_manifest_number.md Add entry for bug fix in #12882 (#12892) 2024-07-29 12:20:50 -07:00
prevent_duplicate_txn_name.md Make transaction name conflict check more robust (#12895) 2024-07-30 12:31:02 -07:00