getLastError with j:true does not set err if journaling disabled

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.5.3
    • Affects Version/s: 2.5.0
    • Component/s: None
    • None
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Start a mongod with --nojournal, then go to your favorite driver and do and insert with j=true. The document will still insert despite the fact that it never hits the journal.

      Seems like j=true should enforce that the document makes it to the journal no matter what, so it should not successfully insert and return when the journal is not on.

              Assignee:
              J Rassi (Inactive)
              Reporter:
              Andrew Emil (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: