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

Use WiredTiger config parser instead of string matching

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution
    • Fully Compatible

      wiredtiger_util.cpp currently does some bare string-matching, see the first comment below.

      This is quite fragile, and has caused bugs in another project where we both (1) added more options to the log category, and (2) added another foo_log category that caused erroneous matches in the metadata.

      WiredTiger exposes a configuration parsing API (https://source.wiredtiger.com/11.2.0/group__wt.html#ga512297da65ccc30ac91bf6adf95f043f) that can be used instead of string matching.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            will.korteland@mongodb.com Will Korteland
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: