fix oplog cursor leak in getEarliest/LatestOplogTimestamp()

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.4.0-rc7, 4.7.0
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Execution Team 2020-05-18
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      WiredTigerRecordStore::getLatestOplogTimestamp() and WiredTigerRecordStore::getEarliestOplogTimestamp() open a new cursor every time they are called. This should be switched to using the cached cursor functionality provided in WiredTigerCursor.

              Assignee:
              Daniel Gottlieb (Inactive)
              Reporter:
              Eric Milkie
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: