Disable inplace_update_support in OptimisticTxnDB (#12589)

Summary:
Adding OptimisticTransactionDB like https://github.com/facebook/rocksdb/issues/12586

Pull Request resolved: https://github.com/facebook/rocksdb/pull/12589

Test Plan:
```
python3 tools/db_crashtest.py whitebox --optimistic_txn
```
```
Running db_stress with pid=773197: ./db_stress  ...
--inplace_update_support=0  ...
--use_optimistic_txn=1 ...
...
```

Reviewed By: ajkr

Differential Revision: D56635338

Pulled By: jaykorean

fbshipit-source-id: fc3ef13420a2d539c7651d3f5b7dd6c4c89c836d
This commit is contained in:
Jay Huh 2024-04-26 16:00:06 -07:00 committed by Facebook GitHub Bot
parent 8e1bd02279
commit a82ba52756
1 changed files with 2 additions and 0 deletions

View File

@ -500,6 +500,8 @@ optimistic_txn_params = {
"occ_lock_bucket_count": lambda: random.choice([10, 100, 500]),
# PutEntity in transactions is not yet implemented
"use_put_entity_one_in": 0,
# Should not be used with OptimisticTransactionDB which uses snapshot.
"inplace_update_support": 0,
}
best_efforts_recovery_params = {