Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-1057

Detect "jnote" errors reported by server 2.4.x with { ok : 1 }

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.9.2
    • Component/s: Error Handling
    • Labels:
      None

      When sending a write concern of { j : true } to a server with journaling disabled server versions 2.2.x. and 2.4.x respond as follows:

      "{ \"n\" : 0, \"connectionId\" : 4, \"jnote\" : \"journaling not enabled on this server\", \"err\" : null, \"ok\" : 1.0 }"

      We were not properly detecting this as an error because we assumed that { ok : 1 } meant everything was OK.

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: