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

Avoid test failures with WT_CACHE_FULL error in burn-in with inMemory engine

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Correctness
    • 0

      Currently, some tests in burn-in mode with InMemory engine can run out of memory (WT_CACHE_FULL error). This can happen even when the test "cleans-up" by deleting the inserted documents and dropping the collection. This is a known problem, but it needs to be solved eventually.

      Potential solutions:

      • restart the mongod between the test runs when running in burn-in with In-Memory engine
      • provide additional JavaScript API for the tests to better clean-up the memory without restarting
      • detect the WT_CACHE_FULL error in runCommand() override and fail gracefully without failing the test
      • modify the In-Memory burn-in task generator to generate --repeat=1

            Assignee:
            Unassigned Unassigned
            Reporter:
            romans.kasperovics@mongodb.com Romans Kasperovics
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: