Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-64851

WiredTiger error messages hardcoded into Server tests

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2022-04-18

      There are places the MongoDB Server test harness looks for explicit, hard-coded error messages from WiredTiger, which is more fragile than it should be, it would be great to not depend on specific error message wording:

      src/mongo/db/storage/kv/kv_engine_test_harness.cpp:invariant(false, "commit timestamp is less than the oldest timestamp");
      invariant(false, "commit timestamp is less than the stable timestamp");
      

            Assignee:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Reporter:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: