Skip to content

Commit d18c290

Browse files
anand1976Xingbo Wang
authored andcommitted
Pass the correct comparator to MultiScanArgs (facebook#14033)
Summary: Fix assertion failure in crash tests with timestamp due to the wrong comparator passed to MultiScanArgs Pull Request resolved: facebook#14033 Reviewed By: xingbowang Differential Revision: D84036954 Pulled By: anand1976 fbshipit-source-id: 526be21c0754dcccf8e4d2b9fba33716fe35860a
1 parent f972d77 commit d18c290

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

db_stress_tool/db_stress_test_base.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1694,7 +1694,7 @@ Status StressTest::TestMultiScan(ThreadState* thread,
16941694
std::vector<std::string> start_key_strs;
16951695
std::vector<std::string> end_key_strs;
16961696
// TODO support reverse BytewiseComparator in the stress test
1697-
MultiScanArgs scan_opts(BytewiseComparator());
1697+
MultiScanArgs scan_opts(options_.comparator);
16981698
scan_opts.use_async_io = FLAGS_multiscan_use_async_io;
16991699
start_key_strs.reserve(num_scans);
17001700
end_key_strs.reserve(num_scans);

0 commit comments

Comments
 (0)