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

DBDirectClient writes convert all NotPrimaryErrors to NotWriteablePrimary

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Replication

    Description

      this block swallows the specific code for a given NotPrimaryError and converts it to a generic NotWriteablePrimary error, losing the context of the specific code and error message that causes the original error. This code path seems to be activated by DBDirectClient, making it mask potentially useful error information.

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: