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

WiredTiger get stuck, when cachesize is small

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Environment:
      Linux 6u3

      Hi:

         I had found my MongoDB secondary node get a stuck, the oplog applyOps can't work. The pstack showed that WiredTiger is busy for eviction.

         I suspected the bug in the WiredTiger Engine. I wrote a corner case for WiredTiger. I found the WiredTiger will get stuck when the cache is small and get a heavy workload(multi-thread write + multi-thread scan). 

         I can upload my test case and WT stat file for you.

       

        1. wt.html
          1.01 MB
        2. test.cpp
          5 kB
        3. Screen Shot 2018-06-11 at 9.23.22 PM.png
          Screen Shot 2018-06-11 at 9.23.22 PM.png
          465 kB

            Assignee:
            eric.sedor@mongodb.com Eric Sedor
            Reporter:
            ych.tiger@gmail.com YANG Chenghu
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: