Skip to main content
Source

pub async fn admin_shutdown( &self, exit_type: String, authorization: String, ) -> Result<AdminShutdownResponse, KineticaError>

Stop the database server application

Exits the database server application.

  • exit_type - Reserved for future use. User can pass an empty string.
  • authorization - No longer used. User can pass an empty string.

Stop the database server application

Exits the database server application.

  • exit_type - Reserved for future use. User can pass an empty string.
  • authorization - No longer used. User can pass an empty string.
  • options - The optional parameters; any left unset take the server’s defaults.

Sends a pre-built AdminShutdownRequest to the /admin/shutdown endpoint.

Sends a pre-built AdminShutdownRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.