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

Add a flag to free stash memory more aggressively

    • 3
    • 2023-05-30 - 7.0 Readiness, StorEng - 2023-06-13

      This ticket stems from WT-10789, and relates to adding more split free functions with the purpose of improving the code coverage between btrees and their split free call functions.

      Context
      When a page gets split, the old page will be split between two new in-memory pages. The old page will be called with __split_safe_free, which places the page into a stash where if no threads are accessing the variable, it will be scheduled to be freed.

      Investigation
      The _split_safe_free makes sure that if there are no threads accessing the variable before freeing the object. Therefore it is quite lenient on where we can make this call _split_safe_free. The developer who takes this ticket will need to investigate all different places where we call the split free function. The idea is that we can uncover concurrent split free bugs more frequently.

            Assignee:
            etienne.petrel@mongodb.com Etienne Petrel
            Reporter:
            jie.chen@mongodb.com Jie Chen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: