mirror of
https://github.com/Graylog2/graylog2-server.git
synced 2026-03-13 09:32:21 +08:00
Move lock file check for data dir to later step (#18636)
* do not write/check for lock file in data dir during preflight test * remove unnecessary directory read check, handled by validator * add lockfile check to startup * remove unused exception * fix compatibility check url * add more information and show data node list on restart step * ignore PROCESS_STOPPED event when in WAITING_FOR_CONFIGURATION state to avoid ugly exception * fix test and show MigrationDatanodeList
This commit is contained in:
committed by
GitHub
parent
342c9c3c9b
commit
0a887859ea
@@ -48,6 +48,7 @@ public class ProcessStateMachine extends StateMachine<ProcessState, ProcessEvent
|
||||
.permit(ProcessEvent.PROCESS_PREPARED, ProcessState.PREPARED)
|
||||
// jump to started only allowed to facilitate startup with insecure config
|
||||
.permit(ProcessEvent.PROCESS_STARTED, ProcessState.STARTING)
|
||||
.ignore(ProcessEvent.PROCESS_STOPPED)
|
||||
.ignore(ProcessEvent.HEALTH_CHECK_FAILED);
|
||||
|
||||
config.configure(ProcessState.PREPARED)
|
||||
|
||||
Reference in New Issue
Block a user