-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplan.json
More file actions
32 lines (32 loc) · 1.21 KB
/
plan.json
File metadata and controls
32 lines (32 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"new_cluster_map": {
"replication_factor": 3,
"shards": [
{
"id": 0,
"nodes": [
{"node_id": "node-a", "shard_id": 0, "raft": "127.0.0.1:9001", "http": "http://localhost:8080"},
{"node_id": "node-b", "shard_id": 0, "raft": "127.0.0.1:9002", "http": "http://localhost:8081"},
{"node_id": "node-c", "shard_id": 0, "raft": "127.0.0.1:9003", "http": "http://localhost:8082"}
]
},
{
"id": 1,
"nodes": [
{"node_id": "node-d", "shard_id": 1, "raft": "127.0.0.1:9011", "http": "http://localhost:9080"},
{"node_id": "node-e", "shard_id": 1, "raft": "127.0.0.1:9012", "http": "http://localhost:9081"},
{"node_id": "node-f", "shard_id": 1, "raft": "127.0.0.1:9013", "http": "http://localhost:9082"}
]
},
{
"id": 2,
"nodes": [
{"node_id": "node-g", "shard_id": 2, "raft": "127.0.0.1:9021", "http": "http://localhost:9180"},
{"node_id": "node-h", "shard_id": 2, "raft": "127.0.0.1:9022", "http": "http://localhost:9181"},
{"node_id": "node-i", "shard_id": 2, "raft": "127.0.0.1:9023", "http": "http://localhost:9182"}
]
}
]
},
"epoch": 1
}