On the Internet, you can get a lot of advice from almost anywhere
when you’re looking for information on how to do your DBA job.
My blog is one of these sources of advice, and depending on the
source, we generally trust the advice more or less.
But sometimes advice doesn’t take the whole picture into account,
and even if it comes from a recognized authority, it can lead to
more or less serious problems.
Let’s consider the following situation:
We have an InnoDB ReplicaSet with 1 replication source (primary)
and 2 replicas:
JS > rs.status()
{
"replicaSet": {
"name": "myReplicaSet",
"primary": "127.0.0.1:3310",
"status": "AVAILABLE",
"statusText": "All instances available.",
"topology": {
"127.0.0.1:3310": {
"address": "127.0.0.1:3310",
"instanceRole": "PRIMARY",
"mode": "R/W", …
[Read more]