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

Make oplog queries with point equality on ts field use getOplogStartHack

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.5.9
    • 3.6.0-rc4
    • Querying
    • None
    • Minor Change
    • Sharding 2017-10-02, Query 2017-10-23, Query 2017-11-13

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: