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

Internal readers should default to reading without a timestamp

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 4.4.0
    • Fix Version/s: 4.8.0, 4.4.2
    • Component/s: Internal Code
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.7, v4.4
    • Sprint:
      Execution Team 2020-09-07, Execution Team 2020-09-21

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: