Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-12387

Fix typo in format_timestamp.c and unused package in validate_mirror_tables.py

    • Storage Engines
    • 1
    • 2024-03-19 - PacificOcean

      Looks like there is a typo here:

      diff --git a/test/format/format_timestamp.c b/test/format/format_timestamp.c
      index f4ecb17e24..65298e4f89 100644
      --- a/test/format/format_timestamp.c
      +++ b/test/format/format_timestamp.c
      @@ -149,7 +149,7 @@ timestamp_once(WT_SESSION *session, bool allow_lag, bool final)
           g.stable_timestamp = stable_timestamp;
       
           if (FLD_ISSET(g.trace_flags, TRACE_TIMESTAMP))
      -        trace_msg(session, "setts oldest=%" PRIu64 ", stable=%" PRIu64, g.oldest_timestamp,
      +        trace_msg(session, "set ts oldest=%" PRIu64 ", stable=%" PRIu64, g.oldest_timestamp,
                 g.stable_timestamp);
       }
      

      And an unused package here:

      diff --git a/bench/workgen/validate_mirror_tables.py b/bench/workgen/validate_mirror_tables.py
      index 3d987711b7..d54a8d440d 100644
      --- a/bench/workgen/validate_mirror_tables.py
      +++ b/bench/workgen/validate_mirror_tables.py
      @@ -34,7 +34,7 @@
       #
       # Note that the wiredtiger/tools directory must be on your PYTHONPATH.
       # ------------------------------------------------------------------------------
      -import os, pathlib, re, sys
      +import os, re, sys
       from contextlib import redirect_stdout
       from wt_tools_common import wiredtiger_open
       from wt_cmp_uri import wiredtiger_compare_uri
      

            Assignee:
            jasmine.bi@mongodb.com Jasmine Bi
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: