rocksdb/db_stress_tool
Changyu Bi 08dc5cacd9 Check op count in WBWI vs WB when ingesting WBWI (#13722)
Summary:
Large txn commit optimization requires all updates are added to a transaction's WriteBatchWithIndex. However, some usage of transactions may add updates directly to the WBWI's underlying write batch. In these cases, we should not attempt to ingest the WBWI since it will drop these updates. This PR adds sanity checking for this.

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

Test Plan:
- added checks in unit test and stress test
- manually check LOG files for the new unit test

Reviewed By: hx235

Differential Revision: D77247688

Pulled By: cbi42

fbshipit-source-id: 3d1c0c6e64d6d7dfd5578bc4d77abe44cac1e419
2025-06-25 13:32:08 -07:00
..
batched_ops_stress.cc Print iterator status in stress tests when PrepareValue() fails (#13130) 2024-11-09 15:04:17 -08:00
cf_consistency_stress.cc Auto refresh iterator with snapshot (#13354) 2025-02-11 19:36:47 -08:00
CMakeLists.txt Add experimental range filters to stress/crash test (#12769) 2024-06-18 16:16:09 -07:00
db_stress.cc Disable tiered storage + BlobDB stress test (#10699) 2022-09-19 15:39:31 -07:00
db_stress_common.cc Fix nullptr access and race to fault_fs_guard (#12799) 2024-06-24 16:10:36 -07:00
db_stress_common.h Reduce universal compaction input lock time by forwarding intended compaction and re-picking (#13633) 2025-06-12 18:16:47 -07:00
db_stress_compaction_filter.h Fix improper ExpectedValute::Exists() usages and disable compaction during VerifyDB() in crash test (#12933) 2024-08-15 12:32:59 -07:00
db_stress_compaction_service.h Add enable_remote_compaction option to DB Stress (#13378) 2025-02-06 16:44:25 -08:00
db_stress_compression_manager.h Publish/support format_version=7, related enhancements (#13713) 2025-06-20 17:39:47 -07:00
db_stress_driver.cc Fix improper ExpectedValute::Exists() usages and disable compaction during VerifyDB() in crash test (#12933) 2024-08-15 12:32:59 -07:00
db_stress_driver.h Remove unnecessary, confusing 'extern' (#12300) 2024-01-29 10:38:08 -08:00
db_stress_env_wrapper.h Deflake ThreadStatus related unit tests (#12858) 2024-07-15 09:56:09 -07:00
db_stress_filters.cc Add experimental range filters to stress/crash test (#12769) 2024-06-18 16:16:09 -07:00
db_stress_filters.h Add experimental range filters to stress/crash test (#12769) 2024-06-18 16:16:09 -07:00
db_stress_gflags.cc Reduce universal compaction input lock time by forwarding intended compaction and re-picking (#13633) 2025-06-12 18:16:47 -07:00
db_stress_listener.cc Fix/improve temperature handling for file ingestion (#12402) 2024-03-05 16:56:08 -08:00
db_stress_listener.h Add compaction explicit prefetch stats (#13520) 2025-04-14 12:08:38 -07:00
db_stress_shared_state.cc Remove ROCKSDB_SUPPORT_THREAD_LOCAL define because it's a part of C++11 (#10015) 2022-05-18 15:25:19 -07:00
db_stress_shared_state.h Reduce db stress noise (#13447) 2025-03-12 01:13:40 -07:00
db_stress_stat.cc Fix Statistics in db_stress (#9260) 2021-12-07 16:24:22 -08:00
db_stress_stat.h Fix Statistics in db_stress (#9260) 2021-12-07 16:24:22 -08:00
db_stress_table_properties_collector.h Bug fix and refactoring on parallel compression (#13583) 2025-05-02 13:10:06 -07:00
db_stress_test_base.cc Check op count in WBWI vs WB when ingesting WBWI (#13722) 2025-06-25 13:32:08 -07:00
db_stress_test_base.h Clean up secondary column families alongside primary column families (#13343) 2025-01-28 13:57:34 -08:00
db_stress_tool.cc Fix race in multiops txn stress test (#12847) 2024-07-09 16:51:38 -07:00
db_stress_wide_merge_operator.cc Add the wide-column aware merge API to the stress tests (#11906) 2023-09-29 08:54:50 -07:00
db_stress_wide_merge_operator.h Add the wide-column aware merge API to the stress tests (#11906) 2023-09-29 08:54:50 -07:00
expected_state.cc Verify flushed data are recovered upon reopen in crash test (#12787) 2024-12-24 16:27:35 -08:00
expected_state.h Verify flushed data are recovered upon reopen in crash test (#12787) 2024-12-24 16:27:35 -08:00
expected_value.cc Fix improper ExpectedValute::Exists() usages and disable compaction during VerifyDB() in crash test (#12933) 2024-08-15 12:32:59 -07:00
expected_value.h Fix improper ExpectedValute::Exists() usages and disable compaction during VerifyDB() in crash test (#12933) 2024-08-15 12:32:59 -07:00
multi_ops_txns_stress.cc Auto refresh iterator with snapshot (#13354) 2025-02-11 19:36:47 -08:00
multi_ops_txns_stress.h Disable AttributeGroup in multiops txn test (#12781) 2024-06-18 16:05:18 -07:00
no_batched_ops_stress.cc Small fix in secondary DB and stress test (#13594) 2025-05-09 12:55:40 -07:00