pub struct ClusterConfig {
pub identity: ApplianceIdentity,
pub cache_ttl_secs: u64,
pub peer_timeout_secs: u64,
pub peers: Vec<PeerConfig>,
pub api_key: Option<String>,
pub reassign_appliance_enabled: bool,
}Expand description
Cluster configuration for multi-appliance mode.
Fields§
§identity: ApplianceIdentity§cache_ttl_secs: u64§peer_timeout_secs: u64§peers: Vec<PeerConfig>§api_key: Option<String>Shared secret for inter-peer authentication. Used as the outbound credential
for any peer that does not have its own api_key in [[cluster.peers]].
Also serves as the inbound key this appliance accepts from peers.
reassign_appliance_enabled: boolJava parity (59f0758): explicit opt-in for the destructive
reassignAppliance live-migration endpoint. Default false so
having cluster mode enabled doesn’t on its own permit the
migration — operators must validate destination data stores
before flipping this on.
Trait Implementations§
Source§impl Clone for ClusterConfig
impl Clone for ClusterConfig
Source§fn clone(&self) -> ClusterConfig
fn clone(&self) -> ClusterConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClusterConfig
impl Debug for ClusterConfig
Source§impl<'de> Deserialize<'de> for ClusterConfig
impl<'de> Deserialize<'de> for ClusterConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ClusterConfig
impl RefUnwindSafe for ClusterConfig
impl Send for ClusterConfig
impl Sync for ClusterConfig
impl Unpin for ClusterConfig
impl UnsafeUnpin for ClusterConfig
impl UnwindSafe for ClusterConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more