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

Internal readers should default to reading without a timestamp

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.8.0, 4.4.2
    • Affects Version/s: 4.4.0
    • Component/s: Internal Code
    • Labels:
      None
    • Fully Compatible
    • v4.7, v4.4
    • Execution Team 2020-09-07, Execution Team 2020-09-21

      Internal readers should default to using the kNoTimestamp ReadSource. Users of AutoGetCollectionForRead are subject to having their ReadSource changed, which is not always desirable and leads to unexpected behavior.

      Since internal readers have a "local" readConcern by default, despite not originating from a command, they are still eligible for changing their ReadSource.

      Only reads originating from commands should change their ReadSource.

            Assignee:
            louis.williams@mongodb.com Louis Williams
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: