SizeStorer load() can get stuck in page eviction

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: 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
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
              Reporter:
              Yuhong Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              17 Start watching this issue

                Created:
                Updated:
                Resolved: