Debian Codegraph @

tests/json/cluster_has_scheduled_action_ko_switchover.json

raw symbols SCIP
1 {
2 "members": [
3 {
4 "name": "p1",
5 "role": "sync_standby",
6 "state": "streaming",
7 "api_url": "http://10.20.30.51:8008/patroni",
8 "host": "10.20.30.51",
9 "port": 5432,
10 "timeline": 3,
11 "lag": 0
12 },
13 {
14 "name": "p2",
15 "role": "leader",
16 "state": "running",
17 "api_url": "http://10.20.30.52:8008/patroni",
18 "host": "10.20.30.52",
19 "port": 5432,
20 "timeline": 3
21 }
22 ],
23 "scheduled_switchover": {
24 "at": "2023-10-08T11:30:00+00:00",
25 "from": "p1",
26 "to": "p2"
27 }
28 }