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

Make oplog queries with point equality on ts field use getOplogStartHack

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.0-rc4
    • Affects Version/s: 3.5.9
    • Component/s: Querying
    • None
    • Minor Change
    • Sharding 2017-10-02, Query 2017-10-23, Query 2017-11-13
    • 35

      Doing point queries on the ts field is slow in the oplog because the oplog does not have any indexes. WT has a hack that allows it to do binary search on the ts field but is only enabled when the query predicate has top level $gt/$gte.

      This is needed by retryable writes in order to do fast lookup on oplog entries when traversing through the write history within a transaction.

            Assignee:
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: