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

Remove duplicate call to verify in test/format

    • 2
    • Storage Engines - 2022-10-31

      In test/format, we call wts_verify to verify tables. In the main function, we call it twice when verify_only is true:

          TIMED_MAJOR_OP(wts_verify(g.wts_conn, true));
          if (verify_only)
              goto skip_operations;
      ...
      skip_operations:
          locks_destroy(g.wts_conn);
      
          /*
           * Verify the objects. Verify closes the underlying handle and discards the statistics, read
           * them first.
           */
          TIMED_MAJOR_OP(wts_verify(g.wts_conn, true));
      

      We should remove the second call.
       

            Assignee:
            etienne.petrel@mongodb.com Etienne Petrel
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: