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

improve index-related invariant messages in durable_catalog_impl.cpp

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.4
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Fully Compatible
    • Execution Team 2020-02-10
    • 10

      Occasionally, we would observe Invariant failures in durable_catalog_impl.cpp, such as this, in some fuzzer test suites. These invariants are typically found in the CRUD write code paths with very minimal context logging. A sample invariant failure would show up in the logs as follows:

      2020-01-30T16:19:19.297+0000 F - [conn615] Invariant failure offset >= 0 src/mongo/db/storage/durable_catalog_impl.cpp 1045
      

      It would be beneficial for build failure diagnostics to include some identifying information such as:

      • catalog metadata
      • catalog id (also known as record id).
      • index name, if applicable

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: