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

Add common prefix for compatibility version errors

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.6, 4.0.0-rc6, WT3.1.0, 4.1.1
    • None
    • Storage Non-NYC 2018-06-18
    • v4.0

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: