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

Remove redundant rollback to stable finalize code

    • Storage Engines
    • 1
    • StorEng - 2024-12-10

      There's a duplicate of resetting dryrun to false in the below code:

      __rollback_to_stable_finalize(S2C(session)->rts);
      /* Reset the RTS configuration to default. */    
      S2C(session)->rts->dryrun = false;

      Where __rollback_to_stable_finalize is defined as:

      static void
      __rollback_to_stable_finalize(WT_ROLLBACK_TO_STABLE *rts)
      {
          rts->dryrun = false;
      }
      

      This ticket is to verify that and remove the duplicate code.

            Assignee:
            alex.pullen@mongodb.com Alex Pullen
            Reporter:
            zunyi.liu@mongodb.com Zunyi Liu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: