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

Better handling of ENOMEM error

    • 2023-04-18 Leviosa Not Leviosa

      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.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            chenhao.qu@mongodb.com Chenhao Qu
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: