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

Add common prefix for compatibility version errors

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.6, 4.0.0-rc6, WT3.1.0, 4.1.1
    • Affects Version/s: None
    • Component/s: None
    • Storage Non-NYC 2018-06-18
    • v4.0

      There is a use case for the compatibility checking code that is part of wiredtiger_open which is more of a query-based mechanism than something used to protect from errors.

      On the other hand, having good error messages printed out when compatibility issues are encountered is critical for diagnosability.

      With those conflicting requirements, I believe we should prefix all compatibility errors with a common prefix, possibly "Version compatibility detected", and promise not to change that prefix. Once we've done that applications can implement a custom error handler which filters out the compatibility errors when they don't want them to be reported.

            Assignee:
            sue.loverso@mongodb.com Susan LoVerso
            Reporter:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: