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

Better handling of ENOMEM error

    XMLWordPrintable

Details

    • StorEng - Refinement Pipeline

    Description

      Currently, ENOMEM error indicating there is no available memory is propagated to the user. There may be cases that we return this error but the user operation actually succeeds. We need to handle this error in a better way.

      1. We can crash if we hit ENOMEM.
      2. If we don't want to crash every time, print out the state of the transaction, don't allow any more operation on the transaction, and make sure the transaction is rolled back in the end.

      Attachments

        Activity

          People

            backlog-server-storage-engines Backlog - Storage Engines Team
            chenhao.qu@mongodb.com Chenhao Qu
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated: