Charmed MySQL
- By Canonical Data Platform
- Cloud
Channel | Revision | Published | Runs on |
---|---|---|---|
8.0/stable | 196 | 29 Sep 2023 | |
8.0/candidate | 203 | 14 Dec 2023 | |
8.0/beta | 232 | 02 May 2024 | |
8.0/edge | 232 | 02 May 2024 |
juju deploy mysql --channel 8.0/stable
Deploy universal operators easily with Juju, the Universal Operator Lifecycle Manager.
Platform:
charms.mysql.v0.async_replication
-
- Last updated 29 Apr 2024
- Revision Library version 0.1
MySQL async replication module.
Index
class ClusterSetInstanceState
Description
Cluster set instance state. None
class States
Description
States for the relation. None
class MySQLAsyncReplication
Description
MySQL async replication base class. None
Methods
MySQLAsyncReplication. __init__( self , charm , relation_name: str )
MySQLAsyncReplication. role( self )
Description
Current cluster set role of the unit, after the relation is established. None
MySQLAsyncReplication. cluster_name( self )
Description
This cluster name. None
MySQLAsyncReplication. cluster_set_name( self )
Description
Cluster set name. None
MySQLAsyncReplication. get_remote_relation_data( self , relation: Relation )
Description
Remote data. None
MySQLAsyncReplication. on_async_relation_broken( self , event )
Description
Handle the async relation being broken from either side. None
class MySQLAsyncReplicationPrimary
MySQL async replication primary side.
Description
Implements the setup phase of the async replication for the primary side.
Methods
MySQLAsyncReplicationPrimary. __init__( self , charm )
MySQLAsyncReplicationPrimary. get_relation( self , relation_id: int )
Description
Return the relation. None
MySQLAsyncReplicationPrimary. get_local_relation_data( self , relation: Relation )
Description
Local data. None
MySQLAsyncReplicationPrimary. get_state( self , relation: Relation )
Description
State of the relation, on primary side. None
MySQLAsyncReplicationPrimary. idle( self )
Description
Whether the async replication is idle for all related clusters. None
class MySQLAsyncReplicationReplica
MySQL async replication replica side.
Description
Implements the setup phase of the async replication for the replica side.
Methods
MySQLAsyncReplicationReplica. __init__( self , charm )
MySQLAsyncReplicationReplica. relation( self )
Description
Relation. None
MySQLAsyncReplicationReplica. relation_data( self )
Description
Relation data. None
MySQLAsyncReplicationReplica. remote_relation_data( self )
Description
Relation data. None
MySQLAsyncReplicationReplica. state( self )
Description
State of the relation, on replica side. None
MySQLAsyncReplicationReplica. idle( self )
Description
Whether the async replication is idle. None
MySQLAsyncReplicationReplica. returning_cluster( self )
Whether to skip checks.
Description
Used for skipping checks when a replica cluster was removed through broken relation.
MySQLAsyncReplicationReplica. replica_initialized( self )
Description
Whether the replica cluster is initialized as such. None