Use WiredTiger config parser instead of string matching

XMLWordPrintableJSON

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

      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
            Reporter:
            Will Korteland
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: