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

Secondary crash when inserting document into db with different case

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.3.8
    • Fix Version/s: 3.2.12, 3.4.2, 3.5.1
    • Component/s: Write Ops
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.4, v3.2
    • Sprint:
      Storage 2016-11-21, Storage 2016-12-12
    • Linked BF Score:
      0

      Description

      When different threads are inserting into databases with the same name in different cases the secondary crashes

      d20001| 2016-06-14T13:25:25.593-0400 I STORAGE  [FileAllocator] allocating new datafile /data/db/testReplSet-1/dbcasetest_dbnameA.0, filling with zeroes...
      d20001| 2016-06-14T13:25:25.607-0400 I STORAGE  [FileAllocator] done allocating datafile /data/db/testReplSet-1/dbcasetest_dbnameA.0, size: 16MB,  took 0.013 secs
      d20001| 2016-06-14T13:25:25.641-0400 E REPL     [repl writer worker 9] Failed command { create: "bar" } on dbcasetest_dbnamea with status DatabaseDifferCase: db already exists with different case already have: [dbcasetest_dbnameA] trying to create [dbcasetest_dbnamea] during oplog application
      d20001| 2016-06-14T13:25:25.641-0400 F REPL     [repl writer worker 9] Error applying operation ({ ts: Timestamp 1465925123000|7, t: 1, h: 6109000168575080191, v: 2, op: "c", ns: "dbcasetest_dbnamea.$cmd", o: { create: "bar" } }): DatabaseDifferCase: db already exists with different case already have: [dbcasetest_dbnameA] trying to create [dbcasetest_dbnamea]
      d20001| 2016-06-14T13:25:25.641-0400 I -        [repl writer worker 9] Fatal assertion 16359 DatabaseDifferCase: db already exists with different case already have: [dbcasetest_dbnameA] trying to create [dbcasetest_dbnamea]
      d20001| 2016-06-14T13:25:25.642-0400 I -        [repl writer worker 9] 
      d20001| 
      d20001| ***aborting after fassert() failure
      d20001| 
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: