Charmed MySQL
- Canonical
- Cloud
Channel | Revision | Published | Runs on |
---|---|---|---|
8.0/stable | 240 | 20 Jun 2024 | |
8.0/candidate | 306 | 14 Nov 2024 | |
8.0/candidate | 305 | 14 Nov 2024 | |
8.0/beta | 306 | 14 Nov 2024 | |
8.0/beta | 305 | 14 Nov 2024 | |
8.0/edge | 306 | 14 Nov 2024 | |
8.0/edge | 305 | 14 Nov 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 25 Jul 2024
- Revision Library version 0.6
MySQL cluster-set 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. relation( self )
Description
Relation. None
MySQLAsyncReplication. relation_data( self )
Description
Relation data. None
MySQLAsyncReplication. remote_relation_data( self )
Description
Remote relation data. None
MySQLAsyncReplication. on_async_relation_broken( self , event: RelationBrokenEvent )
Description
Handle the async relation being broken from either side. None
class MySQLAsyncReplicationOffer
MySQL async replication primary side.
Description
Implements the setup phase of the async replication for the primary side.
Methods
MySQLAsyncReplicationOffer. __init__( self , charm )
MySQLAsyncReplicationOffer. state( self )
Description
State of the relation, on primary side. None
MySQLAsyncReplicationOffer. idle( self )
Description
Whether the async replication is idle for all related clusters. None
MySQLAsyncReplicationOffer. secret( self )
Description
Return the async replication secret. None
class MySQLAsyncReplicationConsumer
MySQL async replication replica side.
Description
Implements the setup phase of the async replication for the replica side.
Methods
MySQLAsyncReplicationConsumer. __init__( self , charm )
MySQLAsyncReplicationConsumer. state( self )
Description
State of the relation, on consumer side. None
MySQLAsyncReplicationConsumer. idle( self )
Description
Whether the async replication is idle. None
MySQLAsyncReplicationConsumer. returning_cluster( self )
Whether to skip checks.
Description
Used for skipping checks when a replica cluster was removed through broken relation.
MySQLAsyncReplicationConsumer. replica_initialized( self )
Description
Whether the replica cluster was initialized. None