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

Try to combine __wt_hs_verify_one and __hs_verify_id

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • 5
    • StorEng - Defined Pipeline

      jie.chen@mongodb.com suggested a follow-up work here. I will try to summarize the idea:

      • The goal is to re-use the code and make __wt_hs_verify use __wt_hs_verify_one
      • __wt_hs_verify_one could take two new arguments: a hs cursor and a ds cursor. If those are NULL, open them. If not, reuse them.
        • This way, we could callĀ __wt_hs_verify_one from __wt_hs_verify. Since __wt_hs_verify opens those two cursors already, we could pass them to the new __wt_hs_verify_one.

      If this makes the design cleaner, easier to understand and to test, we should proceed.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: