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

repl/dbcase failure due to listdatabases consistency exception

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.9.1
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • ALL

      <http://buildbot.mongodb.org/builders/OS%20X%2010.5%2064-bit%20DUR%20ON/builds/218/steps/test_6/logs/stdio>

      m31001| Fri Jun 3 01:41:12 [replslave] An earlier initial clone of 'dbNAme' did not complete, now resyncing.
      m31001| Fri Jun 3 01:41:12 [replslave] resync: dropping database dbNAme
      Fri Jun 3 01:41:12 uncaught exception: listDatabases failed:{
      "assertion" : "db already exists with different case other: [dbNAme] me [dbname]",
      "assertionCode" : 13297,
      "errmsg" : "db assertion failure",
      "ok" : 0
      }

      The listDatabases command attempts to switch to each available database it is aware of. But its list of databases may be out of date, causing it to attempt to switch to a database having a name conflict with an existing database and triggering an assertion.

      We can either change listDatabases so it can't assert in this case or fix the test to work around this issue.

            Assignee:
            aaron Aaron Staple
            Reporter:
            aaron Aaron Staple
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: