rocksdb/utilities
anand76 97a152b841 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-08-05 10:37:59 -07:00
..
agg_merge
backup
blob_db Fix file deletions in DestroyDB not rate limited (#12891) 2024-08-05 09:24:20 -07:00
cassandra
checkpoint Fix file deletions in DestroyDB not rate limited (#12891) 2024-08-05 09:24:20 -07:00
compaction_filters
convenience
leveldb_options
memory
merge_operators
option_change_migration Disallow refitting more than 1 file from non-L0 to L0 (#12481) 2024-03-29 10:52:36 -07:00
options
persistent_cache
simulator_cache
table_properties_collectors
trace
transactions Make transaction name conflict check more robust (#12895) 2024-08-05 10:37:59 -07:00
ttl
write_batch_with_index Improve the sanity checks in (Multi)GetEntity and friends (#12630) 2024-05-09 12:25:19 -07:00
cache_dump_load.cc
cache_dump_load_impl.cc Add dump all keys for cache dumper impl (#12500) 2024-04-12 10:47:13 -07:00
cache_dump_load_impl.h Add dump all keys for cache dumper impl (#12500) 2024-04-12 10:47:13 -07:00
compaction_filters.cc
counted_fs.cc
counted_fs.h
debug.cc
env_mirror.cc
env_mirror_test.cc
env_timed.cc
env_timed.h
env_timed_test.cc
fault_injection_env.cc
fault_injection_env.h
fault_injection_fs.cc Drop unsynced data in TestFSWritableFile::Close() (#12528) 2024-04-12 09:57:56 -07:00
fault_injection_fs.h Provide an override ReuseWritableFile implementation for FaultInjectionTestFS (#12510) 2024-04-04 19:26:42 -07:00
fault_injection_secondary_cache.cc
fault_injection_secondary_cache.h
memory_allocators.h
merge_operators.cc
merge_operators.h
object_registry.cc
object_registry_test.cc
types_util.cc Add support in SstFileReader to get a raw table iterator (#12385) 2024-04-02 21:23:06 -07:00
types_util_test.cc Add support in SstFileReader to get a raw table iterator (#12385) 2024-04-02 21:23:06 -07:00
util_merge_operators_test.cc
wal_filter.cc