pub struct AdminSwitchoverRequest
pub processes: Vec<String>,
pub destinations: Vec<String>,
pub options: HashMap<String, String>,
The request payload for the /admin/switchover endpoint.
Manually switch over one or more processes to another host
Fields
processes: Vec<String>Indicates the process identifier to switch over to another host. Options are ‘hostN’ and ‘rankN’ where ‘N’ corresponds to the number associated with a host or rank in the Network section of the gpudb.conf file; e.g., ‘host[N].address’ or ‘rank[N].host’. If ‘hostN’ is provided, all processes on that host will be moved to another host. Each entry in this array will be switched over to the corresponding host entry at the same index in destinations.
destinations: Vec<String>Indicates to which host to switch over each corresponding process given in processes. Each index must be specified as ‘hostN’ where ‘N’ corresponds to the number associated with a host or rank in the Network section of the gpudb.conf file; e.g., ‘host[N].address’. Each entry in this array will receive the corresponding process entry at the same index in processes.
options: HashMap<String, String>Optional parameters.
Trait Implementations
impl Clone for AdminSwitchoverRequest
fn clone(&self) -> AdminSwitchoverRequest
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Debug for AdminSwitchoverRequest
impl Default for AdminSwitchoverRequest
fn default() -> AdminSwitchoverRequest
impl<‘de> Deserialize<‘de> for AdminSwitchoverRequest
fn deserialize<__D>(__deserializer: __D) ->Result<Self, __D::Error>
where __D: Deserializer<‘de>,
fn avro_schema(&self) -> &‘static str
fn use_compression() -> bool
KineticaOptions::use_snappy enabled. Read more