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

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

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

      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:
            rassi J Rassi
            Reporter:
            andrew.emil@10gen.com Andrew Emil (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: