Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-62791

Improve performance of WiredTigerRecoveryUnit::setTimestamp

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2022-02-07, Execution Team 2022-02-21
    • 135

      The performance of setTimestamp can be improved by using a stack buffer and simple formatting (like snprintf).

      Rationale: setTimestamp sometimes pops up in performance critical paths (see HELP-28951).  In WT-8365, we improved the performance of the WT API used, and observed that simple changes on the caller side would improve performance more. See WT-8365 for discussion and benchmarks.

            Assignee:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Reporter:
            donald.anderson@mongodb.com Donald Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: