Don't block on cache eviction after allocating an oplog slot

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines, Storage Engines - Server Integration
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Operations can block on cache eviction at any time, and we should ensure that after allocating an oplog slot, we cannot block on cache eviction for longer than some maximum threshold. We otherwise risk delaying replication for extended periods of time.

      We can use the setCacheMaxWaitTimeout for this purpose. I suspect this API has a bit of overhead due to the WT_SESSION::reconfigure() call, so we'll need to investigate that tradeoff.

              Assignee:
              Unassigned
              Reporter:
              Louis Williams
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: