Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


About this task

With MongoDB version 7.0 and later, the database might not start immediately following a virtual machine (VM) restart or a VM snapshot revert.
This issue is often due to an unclean shutdown detection, which triggers a data recovery process.

Applies to

BVQ Version: 2024.Hx


Procedure

When a VM snapshot is reverted or the VM is restarted, MongoDB might not start as expected. This behavior is typically accompanied by the following log messages:

Code Block
languagebash
themeConfluence
C:\ProgramData\SVA\BVQ\bvq-mongodb\logs


Code Block
languagediff
themeMidnight
Detected unclean shutdown - Lock file is not empty
Recovering data from the last clean checkpoint.

...