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

improve index-related invariant messages in durable_catalog_impl.cpp

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.4
    • None
    • Storage
    • None
    • Fully Compatible
    • Execution Team 2020-02-10
    • 10

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: