Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-270

If authentication is on for a replica set, then most likely all writes will always fail once primary server dies

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.5
    • None
    • None
    • None

    Description

      chechAuth is not included within block handling I/O errors of call() or say().
      So the whole logic to switch over master does not apply.
      If auth is on and the master stops responding, master will never switch and all read and write operations will always fail.
      Even if included in the try/catch block, checkauth actually catches IOexception and throws MongoException.Network.

      Attachments

        Activity

          People

            antoine Antoine Girbal
            antoine Antoine Girbal
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: