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

multiVersion/mixed_storage_version_replication.js may enter infinite loop of listCollections

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.0-rc0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Platforms 2017-10-23
    • Linked BF Score:
      0

      Description

      In mixed_storage_version_replication.js, there are a bunch of threads that are dropping, creating, inserting, deleting, indexing, etc. To decide which collection to operate on, the test would listDatabases. If that database only had one collection, it would return null, otherwise while a random collection from the database was "system.indexes" it would re-list collections from that database. Every so often, it would hit a database that had two collections, and then while it was looking for a collection that wasn't "system.indexes", a collection would be dropped and then it would be in an infinite loop of looking for a new collection. This causes the test to hang.

        Attachments

          Activity

            People

            Assignee:
            jonathan.reams Jonathan Reams
            Reporter:
            jonathan.reams Jonathan Reams
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: