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

wtperf and/or WT_CONFIG_PARSER do not allow escaped double quotes

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • WT2.9.0, 3.3.8
    • Affects Version/s: WT2.8.0
    • Component/s: None
    • Labels:
      None

      Here's what I want:
      conn_config="cache_size=50M,eviction=(threads_max=4),statistics=(fast),statistics_log=(sources=("table:"),wait=10)"

      It is the quoting around sources=("table:") that is the problem.

      With no quotes (as shown above) I get:
      WiredTiger Error: Invalid argument: Error parsing 'conn_config="cache_size=50M,eviction=(threads_max=4),statistics=(fast),statistics_log=(sources=("table:"),wait=10)"' at offset 97: New value starts without a separator

      With single or triple backslashed quotes ...sources=(\"table:\"),wait=10)... or sources=(\\\"table:\\\"),wait=10)...
      I get the exact same error for both:
      {{wtperf: Error: unknown option '),wait=10)'
      Options: <long list of all wtperf config options>}}

            Assignee:
            donald.anderson@mongodb.com Donald Anderson
            Reporter:
            donald.anderson@mongodb.com Donald Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: