WiredTiger get stuck, when cachesize is small

XMLWordPrintableJSON

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

      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. Screen Shot 2018-06-11 at 9.23.22 PM.png
          Screen Shot 2018-06-11 at 9.23.22 PM.png
          465 kB
        2. test.cpp
          5 kB
        3. wt.html
          1.01 MB

              Assignee:
              Eric Sedor
              Reporter:
              YANG Chenghu
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated:
                Resolved: