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

SizeStorer load() can get stuck in page eviction

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL
    • v6.0, v5.0, v4.4, v4.2
    • Execution Team 2022-07-11

      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.

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

              Created:
              Updated:
              Resolved: