Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-13526

Investigate changes in SERVER-38731: Ability to specify sync source read preference in initial sync

    XMLWordPrintable

    Details

    • Last comment by Customer:
      true
    • Sprint:
      ServerDocs: April06 - April10, ServerDocs: April20-April24, ServerDocs: April27-May01, ServerDocs: May04-May08

      Description

      Description

      Downstream Change Summary

      Adds parameter initialSyncSourceReadPreference; see Initial Sync Semantics documentation.

      Description of Linked Ticket

      Our current implementation of choosing a sync source for initial sync as well as steady state sync could be improved to include preferences provided by the user for situations including:

      • not wanting to sync from the primary to mitigate impact to production applications that are targeting the primary
      • preference to sync from a node on the same LAN vs having multiple nodes make the trip across the WAN (even if ping times would dictate otherwise)
      • syncing from a specific node based on specific user preference

      If the preference is not specified or can not be accommodated then we should fall back to choosing based on latency and currency as we do today.  

      It would be helpful for the specification of a sync source preference to be part of the replica set configuration so it is easily noticed and easily managed.  The log should reflect the preference and the reason it was overridden when need be.

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ravind.kumar Ravind Kumar (Inactive)
              Reporter:
              backlog-server-pm Backlog - Core Eng Program Management Team
              Participants:
              Last commenter:
              Backlog - Core Eng Program Management Team Backlog - Core Eng Program Management Team
              Docs Reviewer:
              Andrew Feierabend Andrew Feierabend (Inactive)
              External Reviewer:
              Matthew Russotto
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since reply:
                1 year, 22 weeks, 1 day ago
                Date of 1st Reply: