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

Mongod running as a service will not stop after migrating to a standalone wiredTiger storage engine

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major - P3 Major - P3
    • None
    • 3.2.9, 3.2.10
    • None
    • None
    • ALL
    • Hide

      Although I feel some steps may not be pertinent, they may actually contain the clue to the issue:

      1. Set up mongod to run as a Windows service (using a configuration file) without authorization;
      2. Run Mongo 3.0.11 with MMAPv1 as storage;
      3. Upgrade Mongo to 3.2.10 as per documentation;
      4. Run mongodump;
      5. Edit the mongod.cfg file to contain storage.engine:wiredTiger (YAML format);
      6. Stop the service;
      7. Rename the \mongodb\data\db folder to db_old;
      8. Create a new empty folder \mongodb\data\db;
      9. Start the service;
      10. Run mongorestore of the backup taken in step 4;
      11. Stop the service;

          • Service fails to stop. A windows error appears. User must open task manager and kill the mongod.exe process.
      Show
      Although I feel some steps may not be pertinent, they may actually contain the clue to the issue: 1. Set up mongod to run as a Windows service (using a configuration file) without authorization; 2. Run Mongo 3.0.11 with MMAPv1 as storage; 3. Upgrade Mongo to 3.2.10 as per documentation; 4. Run mongodump; 5. Edit the mongod.cfg file to contain storage.engine:wiredTiger (YAML format); 6. Stop the service; 7. Rename the \mongodb\data\db folder to db_old; 8. Create a new empty folder \mongodb\data\db; 9. Start the service; 10. Run mongorestore of the backup taken in step 4; 11. Stop the service; Service fails to stop. A windows error appears. User must open task manager and kill the mongod.exe process.

    Description

      After restoring a database the mongod service cannot stop without killing the process manually.
      Windows 2012R2 using Mongo Community 3.2.10 (also 3.2.9)

      Picture attached (2016-10-06_15-33-35.png) has been stuck in this state for a long time.

      Attachments

        Activity

          People

            kelsey.schubert@mongodb.com Kelsey Schubert
            chrismielca Chris Mielcarek
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: