/admin?op=exit stops a running MDEX Engine.
The exit operation puts the Dgraph on hold while all outstanding transactions (queries) are completed. Once all transactions have been completed, the Dgraph shuts down. This is the recommended way to shut down a Dgraph, as opposed to manually killing the process, since it gracefully completes all transactions and exits cleanly.
The output looks similar to the following:
Dgraph admin, OK Dgraph shutting down at Wed May 20 11:23:08 2009
Both the Endeca Application Controller (EAC) and the deprecated Control Interpreter use the exit operation behind the scenes to stop an MDEX Engine. However, if the MDEX Engine in question was originally started by the EAC or the Control Interpreter, manually submitting this operation fails to permanently shut down the MDEX Engine, because the EAC or the Control Interpreter interprets the resulting MDEX Engine shutdown as a failure and restarts it immediately. MDEX Engines started by the EAC or the Control Interpreter should be shut down through the control framework that originally started them.
The exit operation is supported in the Agraph.