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

The metadata should not imply that an empty value is true

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.9.0, 3.2.10, 3.3.12
    • Component/s: None
    • Labels:

      Description

      The current format of the metadata uses an empty boolean value to mean true. That allows for a minor space saving, but results in confusion when reviewing the content of configuration strings.

      We should store an explicit true value in the metadata, and do it in such a way that it's backward compatible. An example of where this is confusing is when looking at the wt list -v output from a table with cache_resident set to true:

      allocation_size=4KB,app_metadata=,block_allocation=best,block_compressor=,cache_resident=,checkpoint=...
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                keith.bostic Keith Bostic
                Reporter:
                alexander.gorrod Alexander Gorrod
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: