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

WiredTiger Crash when inserting documents in a specific order

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 2.8.0-rc2
    • Fix Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Operating System:
      ALL

      Description

      We just started running the .NET driver's test suite against the wired tiger storage engine and ended up crashing the server. I have reproduced the problem in the shell on windows and was told it occurs on OSX as well. The order of the insertions is important. It has to be a Timestamp first followed by a Date on an indexed field. This does not happen on mmapv1 - only wired tiger.

      First repro using _id:

      db.foo.insert({ _id: new Timestamp() })
      db.foo.insert({ _id: new Date() })

      Second repro using an index:

      db.foo.createIndex({x:1})
      db.foo.insert({ x: new Timestamp() })
      db.foo.insert({ x: new Date() })

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: