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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.5.3
    • 2.5.0
    • None
    • None
    • ALL

    Description

      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.

      Attachments

        Activity

          People

            rassi J Rassi
            andrew.emil@10gen.com Andrew Emil (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: