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

Unclean shutdown prevents startup (iOS)

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.0-rc6, 4.1.1
    • Affects Version/s: None
    • Component/s: Build
    • Labels:
    • Fully Compatible
    • ALL
    • Storage NYC 2018-05-21, Platforms 2018-06-18, Storage NYC 2018-06-04

      Received the following error log after terminating an iOS application (signal 9):

      [storage] Detected unclean shutdown - /Users/jasonflax/Library/Developer/CoreSimulator/Devices/A8328A47-7C7E-4CB7-A96A-A0DC3D50AFA1/data/Containers/Data/Application/E51E8B25-71B5-4862-833A-CB98B45B0082/mongod.lock is not empty.

      It appears that `MongoMobile.close()` was not called as `deinit` is not called when an application is terminated.

       

      This was replicated on an iOS simulator.

            Assignee:
            henrik.edin@mongodb.com Henrik Edin
            Reporter:
            jason.flax@mongodb.com Jason Flax
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: