pub struct ReloadSchemasRequest {
pub keyspaces: Vec<String>,
pub keyspace_shards: Vec<String>,
pub tablets: Vec<TabletAlias>,
pub cluster_ids: Vec<String>,
pub concurrency: u32,
pub wait_position: String,
pub include_primary: bool,
}Fields§
§keyspaces: Vec<String>Keyspaces, if set, will reload schemas across one or more keyspaces. A keyspace not existing in a cluster will not fail the overall request.
Superceded by KeyspaceShards and Tablets, in that order.
keyspace_shards: Vec<String>KeyspaceShards, if set, will reload schemas across one or more shards. Each element must be a valid keyspace/shard according to topoproto.ParseKeyspaceShard. A shard not existing in a cluster will not fail the overall request.
Supercedes Keyspaces, and is superceded by Tablets.
tablets: Vec<TabletAlias>Tablets, if set will reload schemas across one or more tablets. Supercedes both Keyspaces and KeyspaceShards.
cluster_ids: Vec<String>ClusterIds optionally restricts the reload operation to clusters with the specified IDs. An empty list of ClusterIds will operate on all clusters.
concurrency: u32Concurrency controls the number of tablets to reload at any given time. Its semantics depend on whether the request is for keyspace, shard, or tablet mode.
In Keyspaces mode, Concurrency is the number of tablets to reload at once per keyspace.
In KeyspaceShards mode, Concurrency is the number of tablets to reload at once per shard.
In Tablets mode, Concurrency is the number of tablets to reload at once per cluster.
wait_position: StringWaitPosition is the replication position that replicating tablets should reach prior to reloading their schemas.
Does not apply in Tablets mode.
include_primary: boolIncludePrimary, if set, will reload the schemas on PRIMARY tablets as well as REPLICA and RDONLY.
Does not apply in Tablets mode.
Trait Implementations§
Source§impl Clone for ReloadSchemasRequest
impl Clone for ReloadSchemasRequest
Source§fn clone(&self) -> ReloadSchemasRequest
fn clone(&self) -> ReloadSchemasRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ReloadSchemasRequest
impl Debug for ReloadSchemasRequest
Source§impl Default for ReloadSchemasRequest
impl Default for ReloadSchemasRequest
Source§impl Message for ReloadSchemasRequest
impl Message for ReloadSchemasRequest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self.Source§impl PartialEq for ReloadSchemasRequest
impl PartialEq for ReloadSchemasRequest
impl StructuralPartialEq for ReloadSchemasRequest
Auto Trait Implementations§
impl Freeze for ReloadSchemasRequest
impl RefUnwindSafe for ReloadSchemasRequest
impl Send for ReloadSchemasRequest
impl Sync for ReloadSchemasRequest
impl Unpin for ReloadSchemasRequest
impl UnwindSafe for ReloadSchemasRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request