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

SizeStorer load() can get stuck in page eviction

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical - P2 Critical - P2
    • None
    • None
    • None
    • None
    • ALL
    • v6.0, v5.0, v4.4, v4.2
    • Execution Team 2022-07-11

    Description

      Currently the size storer uses its own separate wiredtiger session from the caller because the size storer's reads and writes are untimestamped and wiredtiger has the limit of not able to change the config of an existing transaction. As a result, when eviction could not find candidates to evict, we run into the deadlock with ourselves.

      We might want to add timeout to the load function similar to flush, and then make the caller to retry to break out of the deadlock.

      Attachments

        Activity

          People

            sulabh.mahajan@mongodb.com Sulabh Mahajan
            yuhong.zhang@mongodb.com Yuhong Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            17 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: