]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commitdiff
Disable multiscan+timestamp in crash test (#14189)
authorPeter Dillinger <peterd@meta.com>
Tue, 16 Dec 2025 20:36:07 +0000 (12:36 -0800)
committermeta-codesync[bot] <215208954+meta-codesync[bot]@users.noreply.github.com>
Tue, 16 Dec 2025 20:36:07 +0000 (12:36 -0800)
Summary:
Causing failures and not yet supported. Also putting a note in db.h about the combination being unsupported.

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

Test Plan: started up blackbox_crash_test_with_ts many times and checked command line to be confident it's excluded.

Reviewed By: hx235

Differential Revision: D89297971

Pulled By: pdillinger

fbshipit-source-id: c5134351d9ecb37879c7e3319c17dd9228d7f12a

include/rocksdb/db.h
tools/db_crashtest.py

index 2ac8aa99c543e55473c2a57c8ec011c59a8db922..9a753ae3eafd31807456e42e67690c57b1a9ce44 100644 (file)
@@ -1105,9 +1105,12 @@ class DB {
   // details. For optimal performance, ensure that either all entries in
   // scan_opts specify the range limit, or none of them do.
   //
-  // NOTE: iterate_upper_bound in ReadOptions will be ignored. Instead, the
-  // range.limit in ScanOptions is consulted to determine the upper bound key,
-  // if specified.
+  // NOTE: NOT YET SUPPORTED in DBs using user timestamp (see
+  // Comparator::timestamp_size())
+  //
+  // NOTE: iterate_upper_bound in ReadOptions will
+  // be ignored. Instead, the range.limit in ScanOptions is consulted to
+  // determine the upper bound key, if specified.
   //
   // Example usage -
   //  std::vector<ScanOptions> scans{{.start = Slice("bar")},
index 1606679404ebd43ab88bb966d9bd032625db0ec1..621795ceb34ca7f2d319affbd8c76cfd94834978 100644 (file)
@@ -692,6 +692,8 @@ ts_params = {
     # Below flag is randomly picked once and kept consistent in following runs.
     "persist_user_defined_timestamps": random.choice([0, 1, 1]),
     "use_merge": 0,
+    # Causing failures and not yet compatible
+    "use_multiscan": 0,
     "use_full_merge_v1": 0,
     "use_txn": 0,
     "ingest_external_file_one_in": 0,