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

Fix excessive hazard array length during checkpoint

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • 8
    • Storage Engines - 2022-12-12

      We saw a customer case where hazard pointer array maximum length peaked at 2.2 million. The application was using a modest number of session and cursor handles.

      The excessive usage appears to be correlated with checkpoints (see below image).

      We should review the hazard pointer acquisition/release code associated with creating checkpoints, and see if there is any way it could acquire many hazard pointers at the same time. Interesting the number of hazard pointers does seem to decrease - so this doesn't seem to be a leak.

        1. hazard.png
          hazard.png
          128 kB
        2. Screen Shot 2022-11-17 at 4.07.28 pm.png
          Screen Shot 2022-11-17 at 4.07.28 pm.png
          56 kB

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: