simplify WT_CONNECTION::query_timestamp calls in WiredTigerKVEngine

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines - Server Integration
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In the WiredTigerKVEngine implementation, whenever we need to query the global timestamp state in WT, there is some conversion required to parse the hexadecimal representation returned by WT_CONNECTION::query_timestamp into an unsigned 64-bit integer for timestamps that can be consumed by MongoDB. This conversion is duplicated over several spots and could benefit from some minor cleanup with a helper function.

            Assignee:
            Benety Goh
            Reporter:
            Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: