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

Add common prefix for compatibility version errors

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.6, 4.0.0-rc6, WT3.1.0, 4.1.1
    • Component/s: None
    • Labels:
    • Sprint:
      Storage Non-NYC 2018-06-18
    • Backport Requested:
      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

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

                Dates

                Created:
                Updated:
                Resolved: