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

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.5.9
    • Fix Version/s: 3.6.0-rc4
    • Component/s: Querying
    • Labels:
      None
    • Backwards Compatibility:
      Minor Change
    • Sprint:
      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

              Assignee:
              tess.avitabile Tess Avitabile
              Reporter:
              renctan Randolph Tan
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: