When executing the shutdown script tools/dx-admin.sh stop multiple times consecutively, the second execution overwrites the valid deployment state file.
This occurs because the script does not verify if the instance is already stopped before updating the state tracking.
DE681559: The script lacks a conditional check to detect an already-stopped state on successive runs, resulting in the state file being blanked out or incorrectly updated.
Development is currently working on formal code improvements to resolve this issue in a future distribution release. Subscribe this article for further updates.