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

Release pages when walking btree for statistics

    • 5
    • Storage Engines - 2022-11-14

      Summary
      Turning on statistics=(all) in test/format in WT-9975 caused fallout (cache stuck) which was tracked potentially incorrectly in WT-8054. Switching back to statistics=(fast) stopped the fallout however it may be advantageous to have statistics=(all) with sources=file: enabled during our tests. In order for this, we need to fix the releasing of pages during the btree walk for statistics and we need to enable format to be configured to enable this or not.

      Motivation

      • Does this affect any team outside of WT?
        No
      • How likely is it that this use case or problem will occur?
        Edge case
      • If the problem does occur, what are the consequences and how severe are they?
        Cache stuck which is unavailability
      • Is this issue urgent?
        No

      Acceptance Criteria (Definition of Done)
      btree_walk (which is enabled with statistics=(all)) does not cause cache stuck issues. test/format has configuration options to change what statistics are used.

      • Testing
        test/format should successfully complete when btree_walk is used
      • Documentation update
        No

       

            Assignee:
            mick.graham@mongodb.com Mick Graham
            Reporter:
            mick.graham@mongodb.com Mick Graham
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: