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

Broken Replication errors for getLastError

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      single mongod --nojournal
    • ALL

      In 2.4.3 and 2.5.4 a getLastError with

      {j:true}

      on a single mongod with nojournal produces.

      {  n: 0,
        connectionId: 7,
        jnote: 'journaling not enabled on this server',
        err: 'nojournal',
        ok: 1 }
      

      But on 2.5.5 nightly it produces

      {  n: 0,
        connectionId: 7,
        writtenTo: null,
        err: 'nojournal',
        ok: 0,
        errmsg: 'journaling not enabled',
        code: 2 }
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            christkv Christian Amor Kvalheim
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: