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

Rename define for TransactionTooLargeForCache error message

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • RSS Sydney
    • Fully Compatible
    • ALL
    • HappyAddy - 2025-03-04
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The define for the TransactionTooLargeForCache error message is named in a misleading way.

      // From src/third_party/wiredtiger/src/include/txn.h
      #define WT_TXN_ROLLBACK_REASON_TOO_LARGE_FOR_CACHE \
          "transaction is too large and will not fit in the storage engine cache"
      

      1. No such define exists in the wiredtiger source code
      2. The WT prefix implies that this is a WT-specific error message, which it is not. It's a MongoDB error

            Assignee:
            adeline.chen@mongodb.com Adeline Chen
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None