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

Blacklist restart_catalog.js from suites involving initial sync

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.7.3
    • Replication
    • None
    • Fully Compatible
    • Repl 2018-03-12
    • 0

    Description

      Let's say a server in STARTUP2 is initial syncing from some other node. If something invokes restartCatalog on the sync source, every cursor on every collection is destroyed, as all of the CursorManagers are destructed when the Collection and Database objects go away. This will cause the initial syncing node to encounter CursorNotFound errors, and ultimately will end up with not all of the required data when exiting initial sync. This can manifest as a dbhash mismatch at the end of a test.

      We should blacklist restart_catalog.js from any passthrough suite that involves initial sync. However, we should definitely keep it in at least the replica_sets_jscore_passthrough, sharding_jscore_passthrough and sharded_collections_jscore_passthrough, as it tests that various types of replicated/sharded collections survive a catalog restart.

      Attachments

        Issue Links

          Activity

            People

              kyle.suarez@mongodb.com Kyle Suarez
              kyle.suarez@mongodb.com Kyle Suarez
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: