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

Skip identifying writes on orphaned documents in replica set deployments

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc11, 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • v6.0
    • Sharding EMEA 2022-06-27
    • 135

      In case of a client directly connected to a shard of sharded deployment, write operations on orphaned documents are properly flagged in order to avoid notifications on change streams (see PM-2423).

      The logic to identify if a write operation involves an orphaned document is relatively expensive, and it's currently triggered in replica set deployments as well. This is useless and wasteful as there are no orphaned documents.

      The goal of this ticket is to review where the currently logic is used (e.g., here) and restrict it to nodes that are part of a sharded deployments.

            Assignee:
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Reporter:
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: