forked from dedupv1/dedupv1
-
Notifications
You must be signed in to change notification settings - Fork 0
Status monitor
Sascha Effert edited this page Apr 4, 2013
·
1 revision
The monitor status
returns the current system state.
{
"state": "ok"
}
Other legal state values are: init
, started
, ok
, shutting down
, unknown state
(the last should never occur)
The monitor call status?change-state=stop
the system can be told to shut down. The monitor call status?change-state=fast-stop
the system can be told to shut down using the fast shutdown mode.
In the fast shutdown mode, the contents of the auxiliary block and chunk index is not written to disk and the system is left marked as dirty.