I’m testing the operation of a single region failure.
When I lose the remote region, everything goes well, and the cluster status is healthy.
When I lose the primary region, a warning about log loss appears, and the status doesn’t change to healthy.
Fault Tolerance - -1 machines
Warning: the database may have data loss and availability loss. Please restart following tlog interfaces, otherwise storage servers may never be able to catch up.
Old log epoch: 42 begin: 2670913795 end: 2805565521, missing log interfaces(id,address): 692fbc1fbe13f8e0, 6ec490bf0d3ba25e,
Data:
Replication health - (Re)initializing automatic data distribution
Moving data - unknown (initializing)
Sum of key-value sizes - unknown
Disk space used - 420 MB
Config:
{
"regions": [
{
"satellite_redundancy_mode": "one_satellite_double",
"satellite_logs": 2,
"datacenters": [
{
"id": "dc1",
"priority": 2,
"satellite": 0
},
{
"id": "dc4",
"priority": 1,
"satellite": 1
},
{
"id": "dc2",
"priority": 0,
"satellite": 1
}
]
},
{
"satellite_redundancy_mode": "one_satellite_double",
"satellite_logs": 2,
"datacenters": [
{
"id": "dc3",
"priority": 1,
"satellite": 0
},
{
"id": "dc2",
"priority": 1,
"satellite": 1
},
{
"id": "dc4",
"priority": 0,
"satellite": 1
}
]
}
]
}
Shutdown DC1,DC2.
Same messages for another topology:
{
"regions": [
{
"satellite_redundancy_mode": "one_satellite_single",
"satellite_logs": 2,
"datacenters": [
{
"id": "dc1",
"priority": 2,
"satellite": 0
},
{
"id": "dc5",
"priority": 1,
"satellite": 1
}
]
},
{
"satellite_redundancy_mode": "one_satellite_single",
"satellite_logs": 2,
"datacenters": [
{
"id": "dc3",
"priority": 1,
"satellite": 0
},
{
"id": "dc5",
"priority": 1,
"satellite": 1
}
]
}
]
}
Shutdown DC1.